summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2025-05-15 16:00:43 +0930
committerArnd Bergmann <arnd@arndb.de>2025-05-21 23:07:18 +0200
commitd9f0a97e859bdcef51f9c187b1eb712eb13fd3ff (patch)
tree0c1c2eed624fd9b365561b486f52216c74e026e9 /scripts/lib/kdoc/kdoc_output.py
parente4f59f873c3ffe2a0150e11115a83e2dfb671dbf (diff)
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 <suhui@nfschina.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20231027020703.1231875-1-suhui@nfschina.com Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions