linux-next: upstream tree build warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James,

Today's linux-next build (powerpc ppc64_defconfig gcc4.4.0) produced this
warning (it has for a while):

drivers/scsi/st.c: In function 'st_int_ioctl':
drivers/scsi/st.c:2967: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~'

The code in question:

	STp->use_pf = !STp->use_pf | PF_TESTED;

looks questionable at best.
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgphkoZeHiQv3.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux