[PATCH] I2O: more error checking
authorJeff Garzik <jeff@garzik.org>
Thu, 7 Dec 2006 04:35:31 +0000 (20:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:31 +0000 (08:39 -0800)
commit3889b26bebd3e3cf5a3b95da683bab2f6462133d
tree83ca122f725e09dae209ac4e23203e7164649605
parent07354a00901d103085e4376b7df0aad264c1836a
[PATCH] I2O: more error checking

i2o_scsi: handle sysfs failure

i2o_device:
 * convert i2o_device_add() to return integer error code
   rather than pointer.  Fortunately -nobody- checks the return code of
   this function, so changing has nil impact.
 * handle errors thrown by device_register()

More work in i2o_device remains.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/message/i2o/device.c
drivers/message/i2o/i2o_scsi.c