mirror-linux/tools
Ming Lei e7e1cc18f1 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: 6aecda00b7 ("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>
2026-01-21 07:54:55 -07:00
..
accounting
arch arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
bootconfig
bpf bpf: Remove runqslower tool 2025-11-28 15:20:16 -08:00
build objtool updates for v6.19: 2025-12-01 20:18:59 -08:00
certs
cgroup
counter
crypto
debugging
docs docs: makefile: move rustdoc check to the build wrapper 2025-11-29 08:42:53 -07:00
firewire
firmware
gpio
hv
iio
include Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
kvm/kvm_stat
laptop
leds
lib bpf-next-6.19 2025-12-03 16:54:54 -08:00
memory-model
mm
net ynl: samples: Fix spelling mistake "failedq" -> "failed" 2025-12-01 11:54:09 -08:00
objtool objtool: Fix segfault on unknown alternatives 2025-12-01 10:42:27 +01:00
pcmcia
perf Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
power Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
rcu
sched
sched_ext sched_ext: tools: Removing duplicate targets during non-cross compilation 2025-11-20 07:00:27 -10:00
scripts
sound
spi
testing selftests/ublk: fix garbage output in foreground mode 2026-01-21 07:54:55 -07:00
thermal tools/thermal/thermal-engine: Fix format string bug in thermal-engine 2025-11-25 11:00:28 +01:00
time
tracing tracing/tools: Fix incorrcet short option in usage text for --threads 2025-11-07 07:59:37 -05:00
usb
verification
virtio
wmi
workqueue
writeback
Makefile