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)
commita505b86fde5903944828fa04f775e79a6636791d
tree71cc00cd3e49f6049ccd851826c20325ef03d323
parent50a0decf75b66480aa5b076d4e1bca11bc202efe
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