Re: linux-next: build warnings after merge of the libata tree
From: Stephen Rothwell
Date: Wed Jul 27 2016 - 02:32:48 EST
Hi Tejun,
On Thu, 21 Jul 2016 10:44:59 -0400 Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> On Thu, Jul 21, 2016 at 03:26:03PM +1000, Stephen Rothwell wrote:
> > Hi Tejun,
> >
> > After merging the libata tree, today's linux-next build (arm
> > multi_v7_defconfig) produced these warning:
> >
> > 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) {
> > ^
> > drivers/ata/libata-scsi.c: In function 'ata_mselect_control':
> > drivers/ata/libata-scsi.c:3702:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
> > if (mpage[i + 2] & 0xfb != buf[i] & 0xfb) {
> > ^
> >
> > Introduced by commit
> >
> > 9b7844a8c34a ("libata-scsi: fix read-only bits checking in ata_mselect_*()")
>
> Already reverted the patch. Sorry about that.
This patch is still in the libata tree
(git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git#for-next)
--
Cheers,
Stephen Rothwell