Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447624 > unrolled thread

linux-next: build warnings after merge of the libata tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2016-07-21 07:30 +0200
Last post2016-07-21 16:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warnings after merge of the libata tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-07-21 07:30 +0200
    Re: linux-next: build warnings after merge of the libata tree Tejun Heo <tj@kernel.org> - 2016-07-21 16:50 +0200

#1447624 — linux-next: build warnings after merge of the libata tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2016-07-21 07:30 +0200
Subjectlinux-next: build warnings after merge of the libata tree
Message-ID<rXeIy-38y-13@gated-at.bofh.it>
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_*()")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1447929

FromTejun Heo <tj@kernel.org>
Date2016-07-21 16:50 +0200
Message-ID<rXnst-gG-5@gated-at.bofh.it>
In reply to#1447624
Hello, Stephen.

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.

Thanks.

-- 
tejun

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web