Thread (4 messages) 4 messages, 2 authors, 2025-07-14

Re: [PATCH] i2c: virtio: Avoid hang by using interruptible completion wait

From: Andi Shyti <andi.shyti@kernel.org>
Date: 2025-07-14 21:21:17
Also in: linux-i2c, lkml

Hi Viresh,

On Thu, Jul 03, 2025 at 05:01:02PM +0530, Viresh Kumar wrote:
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.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
merged to i2c/i2c-host-fixes.

Thanks,
Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help