On 08/05/2017 01:35 PM, Christoph Hellwig wrote:
>> error = scsi_dh_add_device(sdev);
>> -if (error)
>> -/*
>> - * device_handler is optional, so any error can be ignored
>> - */
>> -sdev_printk(KERN_INFO, sdev,
>> -
> error = scsi_dh_add_device(sdev);
> - if (error)
> - /*
> - * device_handler is optional, so any error can be ignored
> - */
> - sdev_printk(KERN_INFO, sdev,
> - "failed to add device handler: %d\n", error);
>
On Fri, 2017-08-04 at 08:37 +0200, Hannes Reinecke wrote:
> ALUA is only relevant for disk-like devices, so we shouldn't
> be printing out warning messages for other device types.
Reviewed-by: Bart Van Assche
Looks good,
Reviewed-by: Johannes Thumshirn
--
Johannes Thumshirn Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG N
ALUA is only relevant for disk-like devices, so we shouldn't
be printing out warning messages for other device types.
Signed-off-by: Hannes Reinecke
---
drivers/scsi/device_handler/scsi_dh_alua.c | 2 ++
drivers/scsi/scsi_dh.c | 5 +++--
drivers/scsi/scsi_sysfs.c
5 matches
Mail list logo