Re: [PATCH] driver: implement dev_err_probe()

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

 



On Sat, Oct 30, 2021 at 07:59:26PM +0200, Ahmad Fatoum wrote:
> The function like it's Linux equivalent is meant to be used during
> driver probe whenever an error occurs that would lead to aborting the
> probe. This allows moving EPROBE_DEFER checks out of drivers and
> in future could allow selectively compiling out only error probe
> messages, as they are mainly interesting during bring up.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
>  drivers/base/driver.c  | 49 ++++++++++++++++++++++++++++++++++++++++++
>  include/linux/printk.h | 12 +++++++++++
>  2 files changed, 61 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux