diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-12-15 18:45:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-15 18:54:18 +0100 |
commit | 532888a59505da2a3fbb4abac6adad381cedb374 (patch) | |
tree | 14b62bbf2bc0c89b0ae19acd4adc862f203287ea /fs/kernfs | |
parent | kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy() (diff) | |
download | linux-532888a59505da2a3fbb4abac6adad381cedb374.tar.xz linux-532888a59505da2a3fbb4abac6adad381cedb374.zip |
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 <rafael@kernel.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231215174540.2438601-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions