Messages in this thread | | | Date | Tue, 16 Oct 2018 10:25:37 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property |
| |
On Tue, Oct 16, 2018 at 09:22:43AM +0200, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function introduced recently, > ie. if probe_err will be called with -EPROBE_DEFER instead of printk the message > will be attached to deferred device and printed when user read devices_deferred > property.
Nice!
Reviewed-by: Mark Brown <broonie@kernel.org> [unhandled content-type:application/pgp-signature] | |