Skip to content

Commit

Permalink
scsi_debug: error message should say scsi_host_alloc not scsi_register
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Finn Thain authored and Christoph Hellwig committed Nov 12, 2014
1 parent 0f8fcc0 commit 17c9ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 17c9ff5

Please sign in to comment.