]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bfa: fix endian and bit field check bug
authorJing Huang <huangj@brocade.com>
Wed, 16 Nov 2011 20:29:26 +0000 (12:29 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:55:01 +0000 (10:55 +0400)
commit9f39855d1ec0fa37f2cf65b9a0f83e16f77d5e6f
tree4d6c9c71e27039183b201422188d00e223f23061
parentc6c4216889290e2c2b0a0646aea9983fbb02f3e9
[SCSI] bfa: fix endian and bit field check bug

Fix some endian issue. __BIGENDIAN is not defined and it needs to be
replaced with __BIG_ENDIAN. Also fixed a bug in bit field access.
These two issues were reported by Dan Carpenter.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_defs.h
drivers/scsi/bfa/bfa_ioc.c