android_kernel_oneplus_msm8998/net/mac80211
Jeff Mahoney e5a19cf78a mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
[ Upstream commit b4201cc4fc6e1c57d6d306b1f787865043d60129 ]

This fixes:

net/mac80211/mesh_hwmp.c:603:26: warning: ‘target_metric’ may be used uninitialized in this function

target_metric is only consumed when reply = true so no bug exists here,
but not all versions of gcc realize it.  Initialize to 0 to remove the
warning.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-03 06:23:23 +02:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.c
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c mac80211: RX BA support for sta max_rx_aggregation_subframes 2017-05-20 14:27:03 +02:00
agg-tx.c
cfg.c mac80211: don't initiate TDLS connection if station is not associated to AP 2019-03-23 08:44:20 +01:00
chan.c
debug.h
debugfs.c net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y 2018-01-17 09:35:25 +01:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
driver-ops.c
driver-ops.h
ethtool.c
ht.c
ibss.c mac80211: shorten the IBSS debug messages 2018-10-10 08:52:11 +02:00
ieee80211_i.h mac80211: Remove invalid flag operations in mesh TSF synchronization 2017-11-30 08:37:27 +00:00
iface.c mac80211: Clear beacon_int in ieee80211_do_stop 2018-12-13 09:21:37 +01:00
Kconfig
key.c mac80211: restrict delayed tailroom needed decrement 2018-09-26 08:35:06 +02:00
key.h
led.c
led.h
main.c mac80211: fix a race between restart and CSA flows 2018-10-10 08:52:11 +02:00
Makefile
mesh.c mac80211: Fix addition of mesh configuration element 2017-12-20 10:04:52 +01:00
mesh.h
mesh_hwmp.c mac80211: fix "warning: ‘target_metric’ may be used uninitialized" 2019-04-03 06:23:23 +02:00
mesh_pathtbl.c
mesh_plink.c mac80211: Suppress NEW_PEER_CANDIDATE event if no room 2017-11-30 08:37:27 +00:00
mesh_ps.c
mesh_sync.c mac80211: Remove invalid flag operations in mesh TSF synchronization 2017-11-30 08:37:27 +00:00
michael.c
michael.h
mlme.c mac80211: Fix condition validating WMM IE 2018-12-21 14:09:51 +01:00
ocb.c
offchannel.c mac80211: flush hw_roc_start work before cancelling the ROC 2017-10-05 09:41:44 +02:00
pm.c
rate.c
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c mac80211: fix miscounting of ttl-dropped frames 2019-03-23 08:44:19 +01:00
scan.c
spectmgmt.c
sta_info.c mac80211: fix power saving clients handling in iwlwifi 2017-10-21 17:09:04 +02:00
sta_info.h
status.c mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext 2018-12-13 09:21:37 +01:00
tdls.c
tkip.c
tkip.h
trace.c
trace.h
trace_msg.h
tx.c mac80211: ensure that mgmt tx skbs have tailroom for encryption 2019-02-20 10:13:19 +01:00
util.c mac80211: add stations tied to AP_VLANs during hw reconfig 2018-09-05 09:18:33 +02:00
vht.c
wep.c mac80211: Add RX flag to indicate ICV stripped 2018-05-16 10:06:46 +02:00
wep.h
wme.c
wme.h
wpa.c mac80211: Add RX flag to indicate ICV stripped 2018-05-16 10:06:46 +02:00
wpa.h