ahci: fix memory leak in ata_scsiop_inquiry
authorRob Herring <rob.herring@calxeda.com>
Sat, 24 Aug 2013 15:10:49 +0000 (10:10 -0500)
committerTom Rini <trini@ti.com>
Fri, 6 Sep 2013 17:09:07 +0000 (13:09 -0400)
commit796c2ebd6f17da605a05eb233c907e4d8330f751
treecf9c6cb6edb5830ba138cfccb41e397d9df235fe
parent48c3a87c0a7026866c014fcc1a55281585fa5a41
ahci: fix memory leak in ata_scsiop_inquiry

This fixes a memory leak when scsi inquiry fails.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Tom Rini <trini@ti.com>
drivers/block/ahci.c