On Fri, Oct 02, 2015 at 02:52:24PM +0200, Christoph Hellwig wrote: > On Thu, Oct 01, 2015 at 02:34:54PM +1000, Paul Mackerras wrote: > > I still get the warning: > > Ok, I sent you the wrong patch. scsi_dh_add_device is the function that > needs to switch to use __scsi_dh_lookup. New version below: > > diff --git a/drivers/scsi/scsi_dh.c b/drivers/scsi/scsi_dh.c > index edb044a..cc9ea81 100644 > --- a/drivers/scsi/scsi_dh.c > +++ b/drivers/scsi/scsi_dh.c > @@ -226,7 +226,7 @@ int scsi_dh_add_device(struct scsi_device *sdev) > > drv = scsi_dh_find_driver(sdev); > if (drv) > - devinfo = scsi_dh_lookup(drv); > + devinfo = __scsi_dh_lookup(drv); > if (devinfo) > err = scsi_dh_handler_attach(sdev, devinfo); > return err; That boots up OK and there is no warning. Paul. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html