aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2025-05-02 11:10:35 +0000
committerMark Brown <[email protected]>2025-05-05 10:30:31 +0000
commita73fa3690a1f3014d6677e368dce4e70767a6ba2 (patch)
tree6739b03d08095432a7446c2e47bbb07151b0b7f5 /rust/helpers
parentLinux 6.15-rc5 (diff)
downloadkernel-a73fa3690a1f3014d6677e368dce4e70767a6ba2.tar.gz
kernel-a73fa3690a1f3014d6677e368dce4e70767a6ba2.zip
spi: loopback-test: Do not split 1024-byte hexdumps
spi_test_print_hex_dump() prints buffers holding less than 1024 bytes in full. Larger buffers are truncated: only the first 512 and the last 512 bytes are printed, separated by a truncation message. The latter is confusing in case the buffer holds exactly 1024 bytes, as all data is printed anyway. Fix this by printing buffers holding up to and including 1024 bytes in full. Fixes: 84e0c4e5e2c4ef42 ("spi: add loopback test driver to allow for spi_master regression tests") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/37ee1bc90c6554c9347040adabf04188c8f704aa.1746184171.git.geert+renesas@glider.be Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions