Commit 9a90f61f authored by Fedor Pchelkin's avatar Fedor Pchelkin Committed by sanglipeng
Browse files

wifi: ath6kl: reduce WARN to dev_dbg() in callback

stable inclusion
from stable-v5.10.180
commit 1300517e371e4d0acdb0f1237477e1ed223c3a9a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1300517e371e4d0acdb0f1237477e1ed223c3a9a



--------------------------------

[ Upstream commit 75c4a815 ]

The warn is triggered on a known race condition, documented in the code above
the test, that is correctly handled.  Using WARN() hinders automated testing.
Reducing severity.

Fixes: de2070fc ("ath6kl: Fix kernel panic on continuous driver load/unload")
Reported-and-tested-by: default avatar <syzbot+555908813b2ea35dae9a@syzkaller.appspotmail.com>
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarFedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230126182431.867984-1-pchelkin@ispras.ru


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6eab46e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment