mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-22 14:43:30 +00:00
Clang warns:
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:901:6: warning:
variable 'place' is used uninitialized whenever 'if' condition is false
[-Wsometimes-uninitialized]
if (chnl > 14) {
^~~~~~~~~
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:909:9: note:
uninitialized use occurs here
return place;
^~~~~
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:901:2: note: remove
the 'if' if its condition is always true
if (chnl > 14) {
^~~~~~~~~~~~~~~
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c:899:10: note:
initialize the variable 'place' to silence this warning
u8 place;
^
= '\0'
1 warning generated.
Commit
|
||
|---|---|---|
| .. | ||
| def.h | ||
| dm.c | ||
| dm.h | ||
| fw.c | ||
| fw.h | ||
| hw.c | ||
| hw.h | ||
| led.c | ||
| led.h | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| reg.h | ||
| rf.c | ||
| rf.h | ||
| sw.c | ||
| sw.h | ||
| table.c | ||
| table.h | ||
| trx.c | ||
| trx.h | ||