]> err.no Git - linux-2.6/commit
[PATCH] ide: fix kmalloc_node breakage in ide driver
authorRavikiran G Thirumalai <kiran@scalex86.org>
Thu, 4 Aug 2005 19:53:26 +0000 (12:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 Aug 2005 20:00:53 +0000 (13:00 -0700)
commit556e58febf90c8cb1da25669d0892bf5fd2ddac2
tree427c4e5c414a2308107673d1b5197608426b652b
parentfd6f31c31825f62eb91f491e8316129e5ce81fc6
[PATCH] ide: fix kmalloc_node breakage in ide driver

Patch fixes oops caused by ide interfaces not on pci.  pcibus_to_node
causes the kernel to crash otherwise.  Patch also adds a BUG_ON to check if
hwif is NULL.

Signed-off-by: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Cc: Andi Kleen <ak@muc.de>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-probe.c