]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hpsa: fix memory leak in hpsa_alloc_cmd_pool
authorRobert Elliott <elliott@hp.com>
Fri, 23 Jan 2015 22:42:48 +0000 (16:42 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:39 +0000 (09:57 -0800)
commit2c14334278a614f5573a219d309bc7582ffdd126
tree66e98ccd753cd0f449c9e36e49655be84fca2e85
parent3d4e6af8afe538e2bc5f0c52eb4dec6b50ede050
hpsa: fix memory leak in hpsa_alloc_cmd_pool

Partial allocation failure wasn't handled correctly

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c