diff options
author | 2023-11-22 11:02:37 +0800 | |
---|---|---|
committer | 2023-11-24 18:37:34 +0100 | |
commit | ef5828805842204dd0259ecfc132b5916c8a77ae (patch) | |
tree | 445b1d9a3ab5a75468cb1f0a8ac2786118a44949 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | wifi: cfg80211: hold wiphy mutex for send_interface (diff) | |
download | wireguard-linux-ef5828805842204dd0259ecfc132b5916c8a77ae.tar.xz wireguard-linux-ef5828805842204dd0259ecfc132b5916c8a77ae.zip |
wifi: avoid offset calculation on NULL pointer
ieee80211_he_6ghz_oper() can be passed a NULL pointer
and checks for that, but already did the calculation
to inside of it before. Move it after the check.
Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://lore.kernel.org/r/20231122030237.31276-1-michael-cy.lee@mediatek.com
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions