aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2025-05-15 06:30:43 +0000
committerArnd Bergmann <[email protected]>2025-05-21 21:07:18 +0000
commitd9f0a97e859bdcef51f9c187b1eb712eb13fd3ff (patch)
tree0c1c2eed624fd9b365561b486f52216c74e026e9 /scripts/gcc-plugins/sancov_plugin.c
parentARM: aspeed: Don't select SRAM (diff)
downloadkernel-d9f0a97e859bdcef51f9c187b1eb712eb13fd3ff.tar.gz
kernel-d9f0a97e859bdcef51f9c187b1eb712eb13fd3ff.zip
soc: aspeed: lpc: Fix impossible judgment condition
smatch error: drivers/soc/aspeed/aspeed-lpc-snoop.c:169 aspeed_lpc_snoop_config_irq() warn: platform_get_irq() does not return zero platform_get_irq() return non-zero IRQ number or negative error code, change '!lpc_snoop->irq' to 'lpc_snoop->irq < 0' to fix this. Fixes: 9f4f9ae81d0a ("drivers/misc: add Aspeed LPC snoop driver") Signed-off-by: Su Hui <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andrew Jeffery <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions