summaryrefslogtreecommitdiff
path: root/tools/perf/lib/include/internal/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2026-01-13 16:58:02 +0800
committerJens Axboe <axboe@kernel.dk>2026-01-21 07:54:55 -0700
commite7e1cc18f120a415646be12470169a978a1adcd9 (patch)
tree9330a921942b997afccdc2931ab88cda72f09424 /tools/perf/lib/include/internal/git@git.tavy.me:linux.git
parent23e62cf75518825aac12e9a22bdc40f062428898 (diff)
selftests/ublk: fix garbage output in foreground mode
Initialize _evtfd to -1 in struct dev_ctx to prevent garbage output when running kublk in foreground mode. Without this, _evtfd is zero-initialized to 0 (stdin), and ublk_send_dev_event() writes binary data to stdin which appears as garbage on the terminal. Also fix debug message format string. Fixes: 6aecda00b7d1 ("selftests: ublk: add kernel selftests for ublk") Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/lib/include/internal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions