aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorYunlian Jiang <[email protected]>2013-05-31 21:45:21 +0000
committerJohn W. Linville <[email protected]>2013-06-10 19:37:34 +0000
commitec71997eff2231098212a99934c0fb987a9e6b04 (patch)
treefec33fdf96b31199bc1c2b080c5e87de3d026b75 /net/unix/sysctl_net_unix.c
parentMerge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlw... (diff)
downloadkernel-ec71997eff2231098212a99934c0fb987a9e6b04.tar.gz
kernel-ec71997eff2231098212a99934c0fb987a9e6b04.zip
rtlwifi: initialize local array and set value.
GCC 4.8 is spitting out uninitialized-variable warnings against "drivers/net/wireless/rtlwifi/rtl8192de/dm.c". drivers/net/wireless/rtlwifi/rtl8192de/dm.c:941:31: error: 'ofdm_index_old[1]' may be used uninitialized in this function [-Werror=maybe-uninitialized] rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i]; This patch adds initialization to the variable and properly sets its value. Signed-off-by: Yunlian Jiang <[email protected]> Acked-by: Larry Finger <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions