Re: [PATCH] scsi_dh: Fix return value of scsi_dh_attach()
From: Richard Weinberger
Date: Mon Dec 19 2011 - 07:40:42 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/