Re: [PATCH] staging: rtl8723au: fix static checker warning

2016-03-02 Thread Dan Carpenter
On Tue, Mar 01, 2016 at 11:22:23PM +0800, Geliang Tang wrote: > 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*()") >

[PATCH] staging: rtl8723au: fix static checker warning

2016-03-01 Thread Geliang Tang
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 ---