hpsa: fix memory leak in hpsa_hba_mode_enabled
authorJoe Handzik <joseph.t.handzik@hp.com>
Thu, 15 May 2014 20:44:42 +0000 (15:44 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:12:28 +0000 (19:12 +0200)
commit6e8e8088aa9d2f0108dda6943aea8930be6f8f22
tree31ba65c3b6f78de991f5a9018d0721c63367ace0
parent3b7a45e5ba85dc79c7714edd9eee9aaed730cd6b
hpsa: fix memory leak in hpsa_hba_mode_enabled

And while we're at it fix a magic number

Signed-off-by: Joe Handzik <joseph.t.handzik@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h