diff options
author | NĂcolas F. R. A. Prado <[email protected]> | 2024-03-05 17:21:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 22:10:31 +0000 |
commit | 32de4b4f9dfa67917d2cc824a195498513ec8e8d (patch) | |
tree | 3f291cbaa25eff45d5ddb2d3d5fb4640ec88b870 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 135116f3d01402b610e00dd54f3b059a3faf35de (diff) |
driver: core: Log probe failure as error and with device metadata
Drivers can return -ENODEV or -ENXIO from their probe to reject a device
match, and return -EPROBE_DEFER if probe should be retried. Any other
error code is not expected during normal behavior and indicates an
issue occurred, so it should be logged at the error level.
Also make use of the device variant, dev_err(), so that the device
metadata is attached to the log message.
Signed-off-by: "NĂcolas F. R. A. Prado" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions