Thread (10 messages) 10 messages, 6 authors, 2018-10-18

[PATCH v2 1/3] driver core: add probe_err log helper

From: broonie@kernel.org (Mark Brown)
Date: 2018-10-17 09:57:12
Also in: lkml

On Wed, Oct 17, 2018 at 10:58:24AM +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
pattern is simple but requires adding few lines after any resource acquisition
code, as a result it is often omited or implemented only partially.
probe_err helps to replace such code sequences with simple call, so code:
Reviwed-by: Mark Brown [off-list ref]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181017/c8603fbe/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help