[SCSI] fcoe: precedence bug in fcoe_filter_frames()
authorDan Carpenter <error27@gmail.com>
Fri, 25 Feb 2011 23:03:23 +0000 (15:03 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 1 Mar 2011 00:34:03 +0000 (18:34 -0600)
commitf2f96d20708c53c6825f842beb7bed06f5f15aca
treed1ebf5b2c1d31107024853ddf90bfe7a596e0b50
parent70be6344ea1ad9110a5b422aeab47a3fbb01ba7f
[SCSI] fcoe: precedence bug in fcoe_filter_frames()

Negate has higher precedence than bitwise AND.  FCPHF_CRC_UNCHECKED is
0x1 so the original code is equivalent to: if (!fr_flags(fp)) { ...

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c