[PATCH] Fix reference of uninitialised memory in ata_device_add()
authorDave Jones <davej@redhat.com>
Wed, 27 Sep 2006 06:52:50 +0000 (23:52 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Sep 2006 22:05:40 +0000 (18:05 -0400)
commitc38778c3a9aeadcd1ee319cfc8ea5a9cbf8cdafa
treea4655b566c867924c70c6a8d703b480f97f4c687
parentbda3028813bd07f34f30288a492fbf6f7b8712dd
[PATCH] Fix reference of uninitialised memory in ata_device_add()

ata_device_add fails, calls ata_host_remove with pointers to unitialized
memory.

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c