Re: [PATCH] SCSI st: fix error handling in module init, sysfs

From: Kai Makisara
Date: Thu Oct 05 2006 - 16:08:27 EST


On Wed, 4 Oct 2006, Jeff Garzik wrote:

>
> - 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@xxxxxxxxxx>
>

Acked-by: Kai Makisara <kai.makisara@xxxxxxxxxxx>

> ---
>
> drivers/scsi/st.c | 115 ++++++++++++++++++++++++++++++++++++------------------
> 1 files changed, 78 insertions(+), 37 deletions(-)
>
> diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
> index 7f669b6..3babdc7 100644
> --- a/drivers/scsi/st.c
> +++ b/drivers/scsi/st.c
> @@ -195,9 +195,9 @@ static int sgl_unmap_user_pages(struct s
> static int st_probe(struct device *);
...

Thanks,
Kai
-
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/