diff options
| author | Jan Höppner <[email protected]> | 2024-02-08 17:42:42 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-02-08 10:12:01 -0700 |
| commit | 8d7ac904c90be7a1ed1aafa34953c40270c30bd0 (patch) | |
| tree | 4d8875e03a9ec128a4a4033b056f6ddd9f656afd /tools/perf/scripts/python/netdev-times.py | |
| parent | 9c386d0f6e04fee1b4161e49f8e9f5756bcab04c (diff) | |
s390/dasd: Remove unnecessary errorstring generation
In quite a few cases an errorstring is generated using snprintf() before
it's passed to dev_err(). This indirection is unnecessary and all
information can simply be passed directly to dev_err() instead.
The errrorstring and ERRORLENGTH definitions are removed entirely.
While at it, rephrase the error messages to provide more context where
possible. Also, fix a few incorrectly used format specifier (e.g. %x02
-> %02x) in those messages.
Signed-off-by: Jan Höppner <[email protected]>
Reviewed-by: Stefan Haberland <[email protected]>
Signed-off-by: Stefan Haberland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions