Re: [RESEND PATCH v5 1/5] driver core: add probe_err log helper

From: Mark Brown
Date: Wed Jun 24 2020 - 09:27:26 EST


On Wed, Jun 24, 2020 at 01:41:23PM +0200, Andrzej Hajda wrote:
> During probe every time driver gets resource it should usually check for error
> printk some message if it is not -EPROBE_DEFER and return the error. This

As I said down the thread that's not a great pattern since it means that
probe deferral errors never get displayed and users have a hard time
figuring out why their driver isn't instantiating.

Attachment: signature.asc
Description: PGP signature