[SCSI] SCSI st: fix error handling in module init, sysfs
authorJeff Garzik <jeff@garzik.org>
Wed, 4 Oct 2006 10:00:38 +0000 (06:00 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 4 Oct 2006 18:16:29 +0000 (13:16 -0500)
commit13026a6b985b9d1e19330d5656e211f15b5aca3b
tree615cd268538ced98adc5cc26b15daeea65b7221f
parent5e4009ba3d5af40f5615fdb4304cc4a9947cca0a
[SCSI] SCSI st: fix error handling in module init, sysfs

- Notice and handle sysfs errors in module init, tape init

- Properly unwind errors in module init

- Remove bogus st_sysfs_class==NULL test, it is guaranteed !NULL at that point

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/st.c