Re: [PATCH] driver core: Add deferred_probe attribute to devices in sysfs

From: Ben Hutchings
Date: Wed Aug 31 2016 - 11:04:34 EST


On Wed, 2016-08-31 at 15:10 +0200, Greg Kroah-Hartman wrote:
> On Tue, Aug 16, 2016 at 02:34:18PM +0100, Ben Hutchings wrote:
> > It is sometimes useful to know that a device is on the deferred probe
> > list rather than, say, not having a driver available. Expose this
> > information to user-space.
>
> What can someone use this for? It's an attribute that for 99.9% of the
> time will always be the same value.
>
> I can see when debugging it might be nice, but what can a user do with
> this?

Yes this is mostly for debugging. (Like many of the attributes in
sysfs.)

Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.