Fix malloc size error in ahci_init_one.
authorEd Swarthout <Ed.Swarthout@freescale.com>
Tue, 14 Aug 2007 19:06:45 +0000 (14:06 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 14 Aug 2007 19:30:32 +0000 (21:30 +0200)
commit594e79838ce5078a90d0c27abb2b2d61d5f8e8a7
tree0c6dab1729b08e096f6769971fe8d53e848f38cb
parentb361acd64fd2525c081b9b288b0804efe209c0e9
Fix malloc size error in ahci_init_one.

Typically this causes scsi init to corrupt the
devlist and break the coninfo command.
Fix a compiler size warning.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
drivers/ahci.c