summaryrefslogtreecommitdiffstats
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorPavel Andrianov <andrianov@ispras.ru>2016-08-02 11:41:53 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-09-03 12:01:18 +0200
commitbd6b0242652a8a284eed2adec5ac1fc043b8f2ef (patch)
tree27ebd6c1668fd09df467db60337e43752112d7e5 /lib/smp_processor_id.c
parentmwifiex: key_material_v2 remove superfluous condition (diff)
downloadlinux-bd6b0242652a8a284eed2adec5ac1fc043b8f2ef.tar.xz
linux-bd6b0242652a8a284eed2adec5ac1fc043b8f2ef.zip
wl3501_cs: Add spinlock to wl3501_reset
Likely wl3501_reset should acquire spinlock as wl3501_{open, close}. One of calls of wl3501_reset has been already protected. The others were unprotected and might lead to a race condition. The patch adds spinlock into the wl3501_reset and removes it from wl3501_tx_timeout. Found by Linux Driver Verification project (linuxtesting.org) Signed-off-by: Pavel Andrianov <andrianov@ispras.ru> Acked-by: Vaishali Thakkar <vaishali.thakkar@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions