]> err.no Git - linux-2.6/commit
[SCSI] ch: handle class_device_create failure properly
authorFUJITA Tomonori <tomof@acm.org>
Wed, 23 Jan 2008 14:34:35 +0000 (23:34 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 19:44:47 +0000 (13:44 -0600)
commita3d2c2e8f5e01e185013d8f944c0a26fdc558ad8
tree9270b0630358e2f8a014415d84db98c49770211d
parenta43cf0f3511585493e3c948f7ec62f659486d0b3
[SCSI] ch: handle class_device_create failure properly

When class_device_create fails, ch_probe needs to fail too.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ch.c