aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorYunlian Jiang <[email protected]>2013-05-31 14:45:21 -0700
committerJohn W. Linville <[email protected]>2013-06-10 15:37:34 -0400
commitec71997eff2231098212a99934c0fb987a9e6b04 (patch)
treefec33fdf96b31199bc1c2b080c5e87de3d026b75 /tools/perf/scripts/python/net_dropmonitor.py
parent76015021aaaa288bb4dc870258e0acc4d178c950 (diff)
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions