aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-11 14:43:38 -0700
committerJens Axboe <axboe@kernel.dk>2018-09-11 16:56:46 -0600
commitce42c1768152277658d48196f144aa406a4ea52a (patch)
tree012c82e6a62c6cc76cac01f89eb25d305b71f676 /Documentation/devicetree/bindings/ata
parentata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA (diff)
downloadlinux-dev-ce42c1768152277658d48196f144aa406a4ea52a.tar.xz
linux-dev-ce42c1768152277658d48196f144aa406a4ea52a.zip
pata_atiixp: Remove unnecessary parentheses
Clang warns when more than one set of parentheses is used for a single conditional statement: drivers/ata/pata_atiixp.c:282:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/ata/pata_atiixp.c:282:19: note: remove extraneous parentheses around the comparison to silence this warning if((pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)) ~ ^ ~ drivers/ata/pata_atiixp.c:282:19: note: use '=' to turn this equality comparison into an assignment if((pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)) ^~ = 1 warning generated. 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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/devicetree/bindings/ata')
0 files changed, 0 insertions, 0 deletions