Re: [PATCH] ARM: iop13xx: Simplify iop13xx_atu{e,x}_pci_status checks

2019-06-24 Thread Nick Desaulniers
On Mon, Jun 17, 2019 at 7:03 PM Nathan Chancellor wrote: > > 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) >

[PATCH] ARM: iop13xx: Simplify iop13xx_atu{e,x}_pci_status checks

2019-06-17 Thread Nathan Chancellor
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: