]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 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)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:36:30 +0000 (08:36 -0600)
commitf1a58fecb8fb7233d34721fffc81d050bc2e7fba
treee2b1585eb1833328f696a7684c8f4b1e2204ecff
parent916cf80b5f6a294cee984211f50d5e265fa7fb79
[SCSI] 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