diff options
| author | Jeff Mahoney <jeffm@suse.com> | 2016-04-04 14:15:23 -0400 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-05-17 17:36:19 +0000 |
| commit | 8f2aea82ca669025419a4c9ab23b94f97c1ee170 (patch) | |
| tree | 2fa5c77264db9e53a9e03b39451a6c95cb9eaca7 /scripts/objdiff | |
| parent | 1f95b0e9be77e4d72a6352b6fc486d0678def27f (diff) | |
UPSTREAM: mac80211: fix "warning: ‘target_metric’ may be used uninitialized"
(This cherry-picks b4201cc4fc6e1c57d6d306b1f787865043d60129 upstream)
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.
Change-Id: I13923fda9d314f48196c29e4354133dfe01f5abd
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[jstultz: Cherry-picked to android-4.4]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
