Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17c9ff52 authored by Finn Thain's avatar Finn Thain Committed by Christoph Hellwig
Browse files

scsi_debug: error message should say scsi_host_alloc not scsi_register

parent 0f8fcc08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}