staging: r8723au: Add missing initialization of change_inx in sort algorithm
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 10 Apr 2014 17:46:56 +0000 (19:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 18:41:45 +0000 (11:41 -0700)
commit2c33d7cc3875e75311d24a3bfe8d40ca201da2da
treeca878ad56f2ee98a17138c7c4f703c8cad2ec98f
parente6b1ea773e0a6dd611278d0d6f81ea6ff9d6938b
staging: r8723au: Add missing initialization of change_inx in sort algorithm

drivers/staging/rtl8723au/core/rtw_wlan_util.c: In function ‘WMMOnAssocRsp23a’:
drivers/staging/rtl8723au/core/rtw_wlan_util.c:684: warning: ‘change_inx’ may be used uninitialized in this function

Depending on the uninitialized data on the stack, the array may not be
sorted correctly.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_wlan_util.c
This page took 0.025235 seconds and 5 git commands to generate.