diff options
| author | Johannes Berg <[email protected]> | 2024-03-20 21:26:32 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-03-25 14:23:07 +0000 |
| commit | 19d82bdedaf2db0bfb3762dda714ea803065eed5 (patch) | |
| tree | f1a1939ea9756c4b3190f623de8c20052ae42a49 /scripts/bpf_doc.py | |
| parent | wifi: iwlwifi: mvm: guard against invalid STA ID on removal (diff) | |
| download | kernel-19d82bdedaf2db0bfb3762dda714ea803065eed5.tar.gz kernel-19d82bdedaf2db0bfb3762dda714ea803065eed5.zip | |
wifi: iwlwifi: mvm: handle debugfs names more carefully
With debugfs=off, we can get here with the dbgfs_dir being
an ERR_PTR(). Instead of checking for all this, which is
often flagged as a mistake, simply handle the names here
more carefully by printing them, then we don't need extra
checks.
Also, while checking, I noticed theoretically 'buf' is too
small, so fix that size as well.
Cc: [email protected]
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218422
Fixes: c36235acb34f ("wifi: iwlwifi: mvm: rework debugfs handling")
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://msgid.link/20240320232419.4dc1eb3dd015.I32f308b0356ef5bcf8d188dd98ce9b210e3ab9fd@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
