reported via KernelCI: http://staging-storage.kernelci.org/next-clang/master/next-20190617/arm/iop13xx_defconfig/clang-8/build.log
../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:292:7: note: add parentheses after the '!' to evaluate the comparison first
if (!iop13xx_atux_pci_status(1) == 0)
^
( )
../arch/arm/mach-iop13xx/pci.c:292:7: note: add parentheses around left hand side expression to silence this warning
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)
^ ~~
../arch/arm/mach-iop13xx/pci.c:439:7: note: add parentheses after the '!' to evaluate the comparison first
if (!iop13xx_atue_pci_status(1) == 0)
^
( )
../arch/arm/mach-iop13xx/pci.c:439:7: note: add parentheses around left hand side expression to silence this warning
if (!iop13xx_atue_pci_status(1) == 0)
^
( )
2 warnings generated.
Patch sent: https://lore.kernel.org/lkml/[email protected]/
Fixed by removing the file: https://git.kernel.org/next/linux-next/c/59d3ae9a5bf60c037e3a6f6e6bcfbd1c048aa313
My patch was picked up and merged into mainline: https://git.kernel.org/torvalds/c/4af014984273a2577bf36c6ee271ed02bc831a04
Most helpful comment
Patch submitted: https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8871/1