From: Jeff Garzik Date: Wed, 4 Oct 2006 09:23:04 +0000 (-0400) Subject: [SCSI] SCSI osst: add error handling to module init, sysfs X-Git-Tag: v2.6.19-rc1~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e0333c68ca9cbddfc0108e1889556287563df0;p=pandora-kernel.git [SCSI] SCSI osst: add error handling to module init, sysfs - check all sysfs-related return codes, and propagate them back to callers - properly unwind errors in osst_probe(), init_osst(). This fixes a leak that occured if scsi driver registration failed, and fixes an oops if sysfs creation returned an error. (unrelated) - kzalloc() cleanup in new_tape_buf() Signed-off-by: Jeff Garzik Signed-off-by: James Bottomley --- Reading git-diff-tree failed