summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2010-03-20 03:04:00 +0300
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 18:45:50 +0400
commitd5459083af5b6e01796797edd12555ab586c6092 (patch)
tree5384b2bd1bc40ea0e5ec6aefc0b9d6e74f9ae36a /scripts
parent09ff701a177b116c6c15b6e501e58fbfb306b424 (diff)
downloadlinux-d5459083af5b6e01796797edd12555ab586c6092.tar.xz
[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 'scripts')
0 files changed, 0 insertions, 0 deletions