Re: [PATCH] PCI: cadence: Fix enum type mismatch warning in LTSSM debugfs

From: Aksh Garg

Date: Fri Aug 21 2026 - 07:00:12 EST




On 21/08/26 04:53, Hans Zhang wrote:
Fix Clang -Wenum-compare-conditional warning by using a single u32
variable to hold the LTSSM status value, replacing two separate enum
variables of different types.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202608201933.w2579mwx-lkp@xxxxxxxxx/
Fixes: d70e964dc099 ("PCI: cadence: Add LGA IP debugfs for LTSSM status")
Signed-off-by: Hans Zhang <18255117159@xxxxxxx>

Reviewed-by: Aksh Garg <a-garg7@xxxxxx>

Regards,
Aksh Garg