aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/lwt_helpers.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-03-12 08:31:40 +0000
committerJohannes Berg <[email protected]>2025-03-12 09:41:56 +0000
commit54be64fdf3ba6dbad2f5c48e466e1db43ad74bca (patch)
tree215f20a8ec78a5a16c20fa2ed118d1551e62f3a3 /tools/testing/selftests/bpf/prog_tests/lwt_helpers.h
parentwifi: mac80211: use cfg80211_chandef_get_width() (diff)
downloadkernel-54be64fdf3ba6dbad2f5c48e466e1db43ad74bca.tar.gz
kernel-54be64fdf3ba6dbad2f5c48e466e1db43ad74bca.zip
wifi: iwlwifi: Fix uninitialized variable with __free()
Pointers declared with the __free(kfree) attribute need to be initialized because they will be passed to kfree() on every return path. There are two return statement before the "cmd" pointer is initialized so this leads to an uninitialized variable bug. Fixes: d1e879ec600f ("wifi: iwlwifi: add iwlmld sub-driver") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/lwt_helpers.h')
0 files changed, 0 insertions, 0 deletions