From: Finn Thain Date: Fri, 3 Oct 2014 01:43:31 +0000 (+1000) Subject: scsi_debug: error message should say scsi_host_alloc not scsi_register X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17c9ff5221edb6680f0f5591dd3f371f758f7567;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git scsi_debug: error message should say scsi_host_alloc not scsi_register Signed-off-by: Finn Thain Acked-by: Douglas Gilbert Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index b02571390d01..fce393f3e7e0 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c @@ -4592,7 +4592,7 @@ static int sdebug_driver_probe(struct device * dev) 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; }