[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)
commit98cdfb4347f5d38b97de2045d688e44e2a26ea42
tree4d6c9c71e27039183b201422188d00e223f23061
parent275a63acda70dc1fae0ee0cb6032aaec4dc801d2
[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