Messages in this thread | | | Date | Mon, 19 Dec 2011 13:40:34 +0100 | From | Richard Weinberger <> | Subject | Re: [PATCH] scsi_dh: Fix return value of scsi_dh_attach() |
| |
Hannes,
On 19.12.2011 12:59, Hannes Reinecke wrote: > Nack. > > This patch is wrong. > > scsi_dh_attach() (and, incidentally, scsi_dh_set_params()) should > return a standard error value. SCSI_DH_XXX are internal to > device_handler and should never see the light of day. >
Thanks for your feedback. Both scsi_dh_attach() and scsi_dh_set_params() should return -ENODEV, right?
Thanks, //richard
| |