Re: [PATCH] silence warning in drivers/ata/libata-scsi.c when building W=1

2016-08-01 Thread Tejun Heo
On Sun, Jul 31, 2016 at 11:28:34PM -0400, Valdis Kletnieks wrote: > When building with W=1, we get these warnings: > > drivers/ata/libata-scsi.c: In function 'ata_mselect_caching': > drivers/ata/libata-scsi.c:3637:28: warning: suggest parentheses around > comparison in operand of '&' [-Wparenthes

[PATCH] silence warning in drivers/ata/libata-scsi.c when building W=1

2016-07-31 Thread Valdis Kletnieks
When building with W=1, we get these warnings: drivers/ata/libata-scsi.c: In function 'ata_mselect_caching': drivers/ata/libata-scsi.c:3637:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (mpage[i + 2] & 0xfb != buf[i] & 0xfb) { ~