diff options
author | Geert Uytterhoeven <[email protected]> | 2023-03-21 17:15:01 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2023-03-24 19:07:48 +0100 |
commit | 33eced402b184b5f2127f45531099c265d34e269 (patch) | |
tree | b40ab5123b00df76a45f82f1b4b06a37c08340c9 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a0340df7eca4f28e18afd3ecd6e464db5f2994c0 (diff) |
can: rcar_canfd: Improve error messages
Improve printed error messages:
- Replace numerical error codes by mnemotechnic error codes, to
improve the user experience in case of errors,
- Drop parentheses around printed numbers, cfr.
Documentation/process/coding-style.rst,
- Drop printing of an error message in case of out-of-memory, as the
core memory allocation code already takes care of this.
Suggested-by: Vincent Mailhol <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Vincent Mailhol <[email protected]>
Link: https://lore.kernel.org/all/4162cc46f72257ec191007675933985b6df394b9.1679414936.git.geert+renesas@glider.be
[mkl: use colon instead of comma]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions