commit | d5459083af5b6e01796797edd12555ab586c6092 | [log] [tgz] |
---|---|---|
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | Fri Mar 19 17:04:00 2010 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun Apr 11 09:45:50 2010 -0500 |
tree | 5384b2bd1bc40ea0e5ec6aefc0b9d6e74f9ae36a | |
parent | 09ff701a177b116c6c15b6e501e58fbfb306b424 [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>