diff options
author | 2024-02-16 11:39:23 +0800 | |
---|---|---|
committer | 2024-02-21 20:55:23 +0200 | |
commit | 513c559ca9f05394da79fbf20a8f89eec5f53dce (patch) | |
tree | 498de3c579d771c608bb52f22329956fff5425a3 /security/security.c | |
parent | wifi: rtlwifi: rtl8192cu: Fix TX aggregation (diff) | |
download | linux-rng-513c559ca9f05394da79fbf20a8f89eec5f53dce.tar.xz linux-rng-513c559ca9f05394da79fbf20a8f89eec5f53dce.zip |
wifi: rtl8xxxu: check vif before using in rtl8xxxu_tx()
The 'vif' is from tx_info of SKB, and other codes check 'vif' before using,
which raises smatch warnings:
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5656 rtl8xxxu_tx()
warn: variable dereferenced before check 'vif' (see line 5553)
Compile tested only.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240216033923.34683-1-pkshih@realtek.com
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions