summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-06-26 06:18:25 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2019-08-23 12:38:44 +0200
commit4af014984273a2577bf36c6ee271ed02bc831a04 (patch)
tree89aed27cfd94f119361d2bf087dd87c889de5590 /drivers/dax
parentLinux 5.3-rc5 (diff)
downloadlinux-4af014984273a2577bf36c6ee271ed02bc831a04.tar.xz
linux-4af014984273a2577bf36c6ee271ed02bc831a04.zip
ARM: 8871/1: iop13xx: Simplify iop13xx_atu{e,x}_pci_status checks
clang warns: arch/arm/mach-iop13xx/pci.c:292:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!iop13xx_atux_pci_status(1) == 0) ^ ~~ arch/arm/mach-iop13xx/pci.c:439:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!iop13xx_atue_pci_status(1) == 0) ^ ~~ !func() == 0 is equivalent to func(), which clears up this warning and makes the code more readable. Link: https://github.com/ClangBuiltLinux/linux/issues/543 Reported-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions