Re: [PATCH v4] usb/hcd: Send a uevent signaling that the host controller had died

From: Greg Kroah-Hartman
Date: Thu Apr 25 2019 - 05:07:08 EST


On Fri, Apr 19, 2019 at 09:30:22AM -0600, Raul E Rangel wrote:
> This change will send an OFFLINE event to udev with the ERROR=DEAD
> environment variable set when the HC dies.
>
> By notifying user space the appropriate policies can be applied.
> i.e.,
> * Collect error logs.
> * Notify the user that USB is no longer functional.
> * Perform a graceful reboot.
>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>

kbuild did not report the need for this feature, they only found bugs in
your previous submissions. So no need for that line here.

I'll clean it up, thanks.

greg k-h