]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: Assert base_lock is held before allocating REO update element
authorSarika Sharma <sarika.sharma@oss.qualcomm.com>
Tue, 21 Oct 2025 11:22:04 +0000 (16:52 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 24 Oct 2025 14:45:02 +0000 (07:45 -0700)
commit197498315de711140bcc4722fdeb7c1761777100
tree64a2bad1145dfcd27f15465256e7ccb7563db061
parenta41281f6518e485220d180a6031d302a736fc463
wifi: ath12k: Assert base_lock is held before allocating REO update element

Add a lockdep assertion to verify that ab->base_lock is held prior to
allocating a REO update element in ath12k_dp_prepare_reo_update_elem().
This helps detect potential concurrency issues during development and
improves code robustness.
Compiled tested only.

Signed-off-by: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20251021112204.323242-1-sarika.sharma@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_rx.c