diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-11-23 22:17:00 +0100 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2023-11-30 09:40:37 -0700 |
commit | cfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144 (patch) | |
tree | cfa0130dd17a671bc1dad7b1110afd8841146f71 /scripts/gdb/linux/interrupts.py | |
parent | bddae3e7ae70586b3805fdbce193760f13b4d73e (diff) |
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 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions