aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_access_variable_array.c
diff options
context:
space:
mode:
authorViken Dadhaniya <[email protected]>2024-04-30 09:12:38 +0000
committerGreg Kroah-Hartman <[email protected]>2024-05-03 05:30:32 +0000
commit98241a774db49988f25b7b3657026ce51ccec293 (patch)
tree7e4e53318df2444524fb162a439177b1f54dea13 /tools/testing/selftests/bpf/progs/test_access_variable_array.c
parentdyndbg: fix old BUG_ON in >control parser (diff)
downloadkernel-98241a774db49988f25b7b3657026ce51ccec293.tar.gz
kernel-98241a774db49988f25b7b3657026ce51ccec293.zip
slimbus: qcom-ngd-ctrl: Add timeout for wait operation
In current driver qcom_slim_ngd_up_worker() indefinitely waiting for ctrl->qmi_up completion object. This is resulting in workqueue lockup on Kthread. Added wait_for_completion_interruptible_timeout to allow the thread to wait for specific timeout period and bail out instead waiting infinitely. Fixes: a899d324863a ("slimbus: qcom-ngd-ctrl: add Sub System Restart support") Cc: [email protected] Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Viken Dadhaniya <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_access_variable_array.c')
0 files changed, 0 insertions, 0 deletions