aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJarod Wilson <[email protected]>2021-03-12 11:36:51 -0500
committerJohannes Berg <[email protected]>2021-03-16 21:20:47 +0100
commit239729a21e528466d02f5558936306ffa9314ad1 (patch)
treef9c4d72d0c3e55aa95cdb84598a29454905af23b /tools/perf/scripts/python/export-to-postgresql.py
parent041c881a0ba8a75f71118bd9766b78f04beed469 (diff)
wireless/nl80211: fix wdev_id may be used uninitialized
Build currently fails with -Werror=maybe-uninitialized set: net/wireless/nl80211.c: In function '__cfg80211_wdev_from_attrs': net/wireless/nl80211.c:124:44: error: 'wdev_id' may be used uninitialized in this function [-Werror=maybe-uninitialized] Easy fix is to just initialize wdev_id to 0, since it's value doesn't otherwise matter unless have_wdev_id is true. Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver") CC: Johannes Berg <[email protected]> CC: "David S. Miller" <[email protected]> CC: Jakub Kicinski <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Jarod Wilson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions