summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorJonas Rebmann <jre@pengutronix.de>2026-09-24 15:43:54 +0200
committerMark Brown <broonie@kernel.org>2026-09-24 21:57:49 +0100
commitbd511c42d290807a04a325d584d65b98fd6721d7 (patch)
treeef0653dab3407d0c4b38bf06dc109a6326f0b0af /tools/perf/scripts/python/bin/flamegraph-report
parentdf79e49bd7d77121a0396a094676568de79b3f6c (diff)
spi: spidev_test: allow zero-length transfers
SPI drivers may in fact handle zero-length transfers. The behavior so far was that such transfers would be executed but then result in the "can't send spi message" error message because the spi_sync() call returning 0 would be treated as an error while really it simply indicates that zero bytes were successfully transferred in a message. Don't treat a return value of zero as indication of an error. Update hex_dump() to work with empty buffers now printing e.g. TX | __ || Now including a trailing newline. Signed-off-by: Jonas Rebmann <jre@pengutronix.de> Link: https://patch.msgid.link/20260924-spi-sun4i-spidev_test-v7-4-126e31a07fdc@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions