]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: rtl8723au: fix static checker warning
authorGeliang Tang <geliangtang@163.com>
Tue, 1 Mar 2016 15:22:23 +0000 (23:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit400a30dd991bd9aa16cd6f77e163bf96314f9262
treeedffaae37a71a532000f0a59235f58e4059aaae4
parentc15cc49810fe2547cbf3ac58f6939f0f69a6c1c5
staging: rtl8723au: fix static checker warning

Fix the following static checker warning:

 drivers/staging/rtl8723au/core/rtw_sta_mgt.c:365 rtw_get_stainfo23a()
 error: potential NULL dereference 'psta'.

Fixes: e280d71("staging: rtl8723au: use list_for_each_entry*()")
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_sta_mgt.c