All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: Finn Thain <fthain@telegraphics.com.au>,
	"James E.J. Bottomley" <JBottomley@parallels.com>
Cc: linux-scsi@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] scsi_debug: Error message should say scsi_host_alloc not scsi_register
Date: Fri, 03 Oct 2014 12:02:36 -0400	[thread overview]
Message-ID: <542EC89C.5030708@interlog.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1410011653220.25690@nippy.intranet>

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;
>   	}
> --



  reply	other threads:[~2014-10-03 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-10-23 17:13 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542EC89C.5030708@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=JBottomley@parallels.com \
    --cc=fthain@telegraphics.com.au \
    --cc=linux-scsi@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.