diff options
author | 2023-11-23 22:17:00 +0100 | |
---|---|---|
committer | 2023-11-30 09:40:37 -0700 | |
commit | cfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144 (patch) | |
tree | cfa0130dd17a671bc1dad7b1110afd8841146f71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | remoteproc: k3-dsp: Suppress duplicate error message in .remove() (diff) | |
download | wireguard-linux-cfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144.tar.xz wireguard-linux-cfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144.zip |
remoteproc: k3-dsp: Use symbolic error codes in error messages
The error message
failed to send mailbox message (-EINVAL)
is (for a human) more useful than
failed to send mailbox message, status = -22
Adapt all error messages to use the symbolic names instead of the
numeric constants. The error paths in .probe() make use of
dev_err_probe() which automatically handles EPROBE_DEFER.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231123211657.518181-7-u.kleine-koenig@pengutronix.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions