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
build
certs
cgroup
counter
crypto
debugging
docs
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
objtool
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
scripts
sound
spi
testing selftests/ublk: fix garbage output in foreground mode 2026-01-21 07:54:55 -07:00
thermal
time
tracing
usb
verification
virtio
wmi
workqueue
writeback
Makefile