Re: [PATCH] SCSI osst: add error handling to module init, sysfs

From: Christoph Hellwig
Date: Tue Oct 10 2006 - 05:37:47 EST


On Wed, Oct 04, 2006 at 05:23:04AM -0400, Jeff Garzik wrote:
>
> - 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 <jeff@xxxxxxxxxx>

Ok.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/