mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
ace5af3986
il4965_rs_initialize_lq checks to see if sta is null, however, before that check il4965_rs_use_green dereferences sta when intializing use_green. Avoid a potential null pointer dereference error by only calling il4965_rs_use_green after we are sure sta is not null. Smatch analysis: drivers/net/wireless/iwlegacy/4965-rs.c:2160 il4965_rs_initialize_lq() warn: variable dereferenced before check 'sta' (see line 2155) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
3945-debug.c | ||
3945-mac.c | ||
3945-rs.c | ||
3945.c | ||
3945.h | ||
4965-calib.c | ||
4965-debug.c | ||
4965-mac.c | ||
4965-rs.c | ||
4965.c | ||
4965.h | ||
commands.h | ||
common.c | ||
common.h | ||
csr.h | ||
debug.c | ||
iwl-spectrum.h | ||
Kconfig | ||
Makefile | ||
prph.h |