Re: [PATCH v1] USB: storage: Notify the subdrivers that they need to reinitialize the device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Nov 2017, Mikhail Zaytsev wrote:

> On Wed, 29 Nov 2017 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> > On Wed, 29 Nov 2017, Mikhail Zaytsev wrote:
> > 
> > > This patch adds the device_reinit function into the us_data
> > > structure. The usb-storage driver uses this function for notify the
> > > subdrivers that they need to reinitialize the device.
> > > 
> > > Signed-off-by: Mikhail Zaytsev <flashed@xxxxxxx>  
> > 
> > I'd feel more inclined to accept this patch if the new code got used 
> > somewhere.  As it is, it fixes a "problem" that doesn't actually have 
> > any real effect.
> > 
> > Alan Stern
> 
> I propose to delete this FIXME comments without any code changes.

Okay.  You could leave a comment saying that if any of the subdrivers 
implemented a reinitialization scheme, this is where the callback would 
be invoked.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux