rtlwifi: Use pr_warn instead of WARN_ONCE
stable inclusion from stable-v5.10.121 commit f9413b90230d3339fcbe1e3ffc7d4338417b8091 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f9413b90230d3339fcbe1e3ffc7d4338417b8091 -------------------------------- [ Upstream commit ad732da4 ] This memory allocation failure can be triggered by fault injection or high pressure testing, resulting a WARN. Fix this by replacing WARN with pr_warn. Reported-by: Nsyzkaller <syzkaller@googlegroups.com> Signed-off-by: NDongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: NKalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220511014453.1621366-1-dzm91@hust.edu.cnSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录