OpenCloudOS-Kernel/tools/spi
Geert Uytterhoeven 35386dfd13
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>
2018-09-04 17:00:37 +01:00
..
.gitignore spi: tools: move spidev_test metadata 2015-11-30 12:14:12 +00:00
Build spi: tools: move to tools buildsystem 2017-07-26 12:25:23 +01:00
Makefile tools: fix cross-compile var clobbering 2018-02-21 15:35:42 -08:00
spidev_fdx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spidev_test.c spi: spidev_test: Improve decoded text part of hex dump 2018-09-04 17:00:37 +01:00