linux-stable/drivers/staging
Jérôme Pouiller d3a8573752 staging: wfx: fix use of uninitialized pointer
With -Wuninitialized, the compiler complains:

drivers/staging/wfx/data_tx.c:34:19: warning: variable 'band' is uninitialized when used here [-Wuninitialized]
    if (rate->idx >= band->n_bitrates) {
                         ^~~~

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Fixes: 868fd970e1 ("staging: wfx: improve robustness of wfx_get_hw_rate()")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://lore.kernel.org/r/20201019160604.1609180-1-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-27 13:23:42 +01:00
..
android
axis-fifo
board
clocking-wizard
comedi staging: comedi: cb_pcidas: Allow 2-channel commands for AO subdevice 2020-10-27 13:19:01 +01:00
emxx_udc staging/emxx_udc: fix indenting issue on a couple of statements 2020-09-22 09:49:32 +02:00
fbtft
fieldbus
fsl-dpaa2 staging: dpaa2-switch: add a dpaa2_switch prefix to all functions in ethsw.c 2020-10-10 12:33:41 +02:00
fwserial staging: fwserial: Remove repeated word and 2020-09-13 09:20:12 +02:00
gasket
gdm724x
goldfish
greybus staging: greybus: use __force when assigning __u8 value to snd_ctl_elem_type_t 2020-10-05 14:23:55 +02:00
gs_fpgaboot
hikey9xx staging: hikey9xx: Fix incorrect assignment 2020-09-22 09:51:28 +02:00
iio staging:iio:documentation: Drop most generic docs 2020-09-16 19:12:00 +01:00
kpc2000
ks7010 staging: ks7010: convert tasklets to use new tasklet_setup() API 2020-09-16 13:12:59 +02:00
media pci-v5.10-changes 2020-10-22 12:41:00 -07:00
most
mt7621-dma staging: mt7621-dma: convert tasklets to use new tasklet_setup() API 2020-09-16 13:13:00 +02:00
mt7621-dts
mt7621-pci staging: mt7621-pci: Update driver TODO file 2020-09-13 09:26:18 +02:00
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec Staging: nvec: Removes repeated word typo in comment 2020-10-01 10:55:17 +02:00
octeon staging: octeon: Drop on uncorrectable alignment or FCS error 2020-10-27 13:18:50 +01:00
octeon-usb drivers: staging: octeon-usb: fixed codestyle check warning 2020-09-13 09:21:15 +02:00
olpc_dcon
pi433
qlge Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
ralink-gdma staging: ralink-gdma: convert tasklets to use new tasklet_setup() API 2020-09-16 13:13:00 +02:00
rtl8188eu staging: rtl8188eu: Fix long lines 2020-10-09 15:10:47 +02:00
rtl8192e mm: remove kzfree() compatibility definition 2020-10-25 11:39:02 -07:00
rtl8192u mm: remove kzfree() compatibility definition 2020-10-25 11:39:02 -07:00
rtl8712 staging: rtl8712: Fix enqueue_reorder_recvframe() 2020-10-01 10:55:17 +02:00
rtl8723bs staging: rtl8723bs: replace _cancel_timer with del_timer_sync 2020-10-05 09:59:31 +02:00
rts5208 staging: rts5208: rtsx_transport.c: Fix lines ending with parentheses 2020-09-13 09:20:31 +02:00
sm750fb
unisys
vc04_services staging: mmal-vchiq: Fix memory leak for vchiq_instance 2020-10-27 13:19:01 +01:00
vme
vt6655 staging: vt6655: Add spaces around arithmetic operators 2020-09-13 09:20:38 +02:00
vt6656
wfx staging: wfx: fix use of uninitialized pointer 2020-10-27 13:23:42 +01:00
wlan-ng staging: wlan-ng: convert tasklets to use new tasklet_setup() API 2020-09-16 13:13:00 +02:00
Kconfig
Makefile