All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register
@ 2014-10-03  1:43 Finn Thain
  2014-10-03 16:02 ` Douglas Gilbert
  2014-10-23 17:13 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Finn Thain @ 2014-10-03  1:43 UTC (permalink / raw)
  To: James E.J. Bottomley; +Cc: linux-scsi, trivial


Signed-off-by: Finn Thain <fthain@telegraphics.com.au>

---
 drivers/scsi/scsi_debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/scsi/scsi_debug.c
===================================================================
--- linux.orig/drivers/scsi/scsi_debug.c	2014-09-29 10:55:44.000000000 +1000
+++ linux/drivers/scsi/scsi_debug.c	2014-10-01 16:33:23.000000000 +1000
@@ -3967,7 +3967,7 @@ static int sdebug_driver_probe(struct de
 		sdebug_driver_template.use_clustering = ENABLE_CLUSTERING;
 	hpnt = scsi_host_alloc(&sdebug_driver_template, sizeof(sdbg_host));
 	if (NULL == hpnt) {
-		printk(KERN_ERR "%s: scsi_register failed\n", __func__);
+		pr_err("%s: scsi_host_alloc failed\n", __func__);
 		error = -ENODEV;
 		return error;
 	}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register
  2014-10-03  1:43 [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register Finn Thain
@ 2014-10-03 16:02 ` Douglas Gilbert
  2014-10-23 17:13 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Douglas Gilbert @ 2014-10-03 16:02 UTC (permalink / raw)
  To: Finn Thain, James E.J. Bottomley; +Cc: linux-scsi, trivial

On 14-10-02 09:43 PM, Finn Thain wrote:
>
> Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>

> ---
>   drivers/scsi/scsi_debug.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux/drivers/scsi/scsi_debug.c
> ===================================================================
> --- linux.orig/drivers/scsi/scsi_debug.c	2014-09-29 10:55:44.000000000 +1000
> +++ linux/drivers/scsi/scsi_debug.c	2014-10-01 16:33:23.000000000 +1000
> @@ -3967,7 +3967,7 @@ static int sdebug_driver_probe(struct de
>   		sdebug_driver_template.use_clustering = ENABLE_CLUSTERING;
>   	hpnt = scsi_host_alloc(&sdebug_driver_template, sizeof(sdbg_host));
>   	if (NULL == hpnt) {
> -		printk(KERN_ERR "%s: scsi_register failed\n", __func__);
> +		pr_err("%s: scsi_host_alloc failed\n", __func__);
>   		error = -ENODEV;
>   		return error;
>   	}
> --



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register
  2014-10-03  1:43 [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register Finn Thain
  2014-10-03 16:02 ` Douglas Gilbert
@ 2014-10-23 17:13 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2014-10-23 17:13 UTC (permalink / raw)
  To: Finn Thain; +Cc: James E.J. Bottomley, linux-scsi, trivial

Thanks,

applied to the drivers-for-3.19 branch.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-23 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03  1:43 [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register Finn Thain
2014-10-03 16:02 ` Douglas Gilbert
2014-10-23 17:13 ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.