]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla4xxx: Code cleanup for read/update flash using BSG
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>
Mon, 1 Aug 2011 10:26:14 +0000 (03:26 -0700)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 16 Dec 2011 02:30:36 +0000 (18:30 -0800)
commit4200c64d19106d8cf013de6f0c7288c3c0906b18
treebcd69c3b33e4f814974a06610cca52c5bb783f75
parentfbf6097326c0a52438032a9c9bb10ad7bb2ae03e
qla4xxx: Code cleanup for read/update flash using BSG

- Corrected return status
- Added reset active check
- Removed unused dma_map_sg calls
- Added debug prints on failure

Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_bsg.c
drivers/scsi/qla4xxx/ql4_def.h