diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 21930c9..7dcc4bf 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c @@ -1059,9 +1059,12 @@ int scsi_sysfs_add_sdev(struct scsi_device *sdev) error = scsi_dh_add_device(sdev); if (error) { + /* + * Allow device setup to succeed. Attachment can be retried + * from userpsace or device can be still used in degraded mode. + */ sdev_printk(KERN_INFO, sdev, "failed to add device handler: %d\n", error); - return error; } device_enable_async_suspend(&sdev->sdev_dev);