diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-09-03 20:33:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-04 19:00:37 +0300 |
commit | 35386dfd13b746daf36a393bdf066dbe9b9b7aed (patch) | |
tree | b81d6bc4f0fb30a6033ad38e8763826c1b352e17 /drivers/spi/spi-dw.c | |
parent | 3806112c9ecb4c958581808e0a4040d5de47216a (diff) | |
download | linux-35386dfd13b746daf36a393bdf066dbe9b9b7aed.tar.xz |
spi: spidev_test: Improve decoded text part of hex dump
- Print spaces as spaces,
- Do not print characters > 126, as they will be shown as garbage
in the modern UTF-8 era,
- Use a normal period instead of its hexadecimal ASCII value,
- Delimit the text part with pipe symbols on both sides (was left side
only), without any spaces, to make it clear where the decoded text
starts and ends,
- Drop a useless comment.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
0 files changed, 0 insertions, 0 deletions