]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla4xxx: fix data alignment and use nl helpers
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 6 Oct 2011 08:56:59 +0000 (03:56 -0500)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 16 Dec 2011 02:30:49 +0000 (18:30 -0800)
commit136a510cee34c8728d2c581d4a43e71cd828a716
treedec95322640e8ec7e4db4aba611016ecfaea5d75
parent452fa415123807810a8b22d5f05048f76befcc58
qla4xxx: fix data alignment and use nl helpers

This has the driver use helpers for a common operation and fixes
a issue where if multiple iscsi params are sent they could be
sent at offsets that cause unaligned accesses. The nla helpers
account for the padding needed to align properly for the driver.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h