aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2025-07-03 11:31:02 +0000
committerAndi Shyti <[email protected]>2025-07-23 22:38:01 +0000
commita663b3c47ab10f66130818cf94eb59c971541c3f (patch)
treecde2e8c0dd8d8096bbd3fd2aab8ee45b1d3526c5 /tools/lib/bpf/bpf_prog_linfo.c
parenti2c: tegra: Fix reset error handling with ACPI (diff)
downloadkernel-a663b3c47ab10f66130818cf94eb59c971541c3f.tar.gz
kernel-a663b3c47ab10f66130818cf94eb59c971541c3f.zip
i2c: virtio: Avoid hang by using interruptible completion wait
The current implementation uses wait_for_completion(), which can cause the caller to hang indefinitely if the transfer never completes. Switch to wait_for_completion_interruptible() so that the operation can be interrupted by signals. Fixes: 84e1d0bf1d71 ("i2c: virtio: disable timeout handling") Signed-off-by: Viresh Kumar <[email protected]> Cc: <[email protected]> # v5.16+ Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/b8944e9cab8eb959d888ae80add6f2a686159ba2.1751541962.git.viresh.kumar@linaro.org
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions