ahci: Error out with message on malloc() failure
authorRoger Quadros <rogerq@ti.com>
Mon, 11 Nov 2013 14:56:37 +0000 (16:56 +0200)
committerTom Rini <trini@ti.com>
Wed, 4 Dec 2013 13:12:08 +0000 (08:12 -0500)
commitd73763a4fbc741b3faee43d0a668dd220a81d772
tree62299422f9cbbb836e722e0bb7a156e3f31a798d
parent54d022e76c42d824315e28ea06c89c2452f98861
ahci: Error out with message on malloc() failure

If malloc() fails, we don't want to continue in ahci_init() and
ahci_init_one(). Also print a more informative error message on
malloc() failures.

CC: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/block/ahci.c