diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2024-02-16 11:39:23 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-02-21 20:55:23 +0200 |
commit | 513c559ca9f05394da79fbf20a8f89eec5f53dce (patch) | |
tree | 498de3c579d771c608bb52f22329956fff5425a3 /net/unix/af_unix.c | |
parent | 8ca4cdef93297c9b9bf08da39bc940bd20acbb94 (diff) | |
download | linux-513c559ca9f05394da79fbf20a8f89eec5f53dce.tar.gz linux-513c559ca9f05394da79fbf20a8f89eec5f53dce.tar.bz2 linux-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions