]> git.baikalelectronics.ru Git - kernel.git/commit
hpsa: get rid of type/attribute/direction bit field where possible
authorStephen M. Cameron <stephenmcameron@gmail.com>
Fri, 14 Nov 2014 23:27:04 +0000 (17:27 -0600)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:25 +0000 (09:11 +0100)
commitcbbc0a34230fdd9be4112c455d33297a2244b0b7
tree71cc00cd3e49f6049ccd851826c20325ef03d323
parent316eb9a226f262f9caffff85fed7d4f794177e94
hpsa: get rid of type/attribute/direction bit field where possible

Using bit fields for hardware command fields isn't portable and
relies on assumptions about how the compiler lays out the bits.
We can fix this in the driver's internal command structure, but the
ioctl interface we can't change because it is part of the
userland ABI.

Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Webb Scales <webb.scales@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h