summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsicam.c
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2010-03-19 17:04:00 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 09:45:50 -0500
commitd5459083af5b6e01796797edd12555ab586c6092 (patch)
tree5384b2bd1bc40ea0e5ec6aefc0b9d6e74f9ae36a /drivers/scsi/scsicam.c
parent09ff701a177b116c6c15b6e501e58fbfb306b424 (diff)
[SCSI] qla2xxx: Free DMA memory only if it is allocated in vendor specific BSG command
The qla84xx_mgmt_cmd function supports multiple subcommands. Some subcommands require DMA memory and some do not. Therefore check before freeing DMA memory whether it is allocated or not. Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsicam.c')
0 files changed, 0 insertions, 0 deletions