diff options
author | Uwe Kleine-König <[email protected]> | 2023-12-15 18:45:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-15 18:54:18 +0100 |
commit | 532888a59505da2a3fbb4abac6adad381cedb374 (patch) | |
tree | 14b62bbf2bc0c89b0ae19acd4adc862f203287ea /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | ff6d413b0b59466e5acf2e42f294b1842ae130a1 (diff) |
driver core: Better advertise dev_err_probe()
Describing the usage of dev_err_probe() as being (only?) "deemed
acceptable" has a bad connotation. In fact dev_err_probe() fulfills
three tasks:
- handling of EPROBE_DEFER (even more than degrading to dev_dbg())
- symbolic output of the error code
- return err for compact error code paths
Advertise these better and claim the usage to be "fine" to get rid of
the bad connotation.
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions