]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 12 Dec 2011 19:48:08 +0000 (23:48 +0400)
commit7061bba1da7acb837d6a982648a8306ddc9d7409
treeb91e527cfd9f8c07ddde7df472ae2d7d9b0f9126
parent9044cd1a796f621d4d27e43c98ad4f86d260684f
[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