1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless
Johannes Berg 19d82bdeda 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: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218422
Fixes: c36235acb3 ("wifi: iwlwifi: mvm: rework debugfs handling")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240320232419.4dc1eb3dd015.I32f308b0356ef5bcf8d188dd98ce9b210e3ab9fd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-03-25 15:23:07 +01:00
..
admtek wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
ath wifi: ath12k: fix license in p2p.c and p2p.h 2024-02-28 16:09:29 +02:00
atmel wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
broadcom wifi: brcm80211: handle pmk_op allocation failure 2024-03-05 20:56:13 +02:00
intel wifi: iwlwifi: mvm: handle debugfs names more carefully 2024-03-25 15:23:07 +01:00
intersil wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
marvell wifi: mwifiex: Refactor 1-element array into flexible array in struct mwifiex_ie_types_chan_list_param_set 2024-02-12 17:37:59 +02:00
mediatek wifi: mt76: Remove redundant assignment to variable tidno 2024-02-22 09:55:19 +01:00
microchip wifi: wilc1000: revert reset line logic flip 2024-02-21 20:56:45 +02:00
purelifi wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
quantenna wifi: cfg80211/mac80211: move puncturing into chandef 2024-02-08 15:00:39 +01:00
ralink wifi: rt2x00: silence sparse warnings 2024-02-28 13:37:22 +02:00
realtek wifi: rtw89: coex: fix configuration for shared antenna for 8922A 2024-03-14 10:26:18 +02:00
rsi wifi: mac80211: introduce 'channel request' 2024-02-08 13:07:34 +01:00
silabs wifi: mac80211: introduce 'channel request' 2024-02-08 13:07:34 +01:00
st wifi: cw1200: restore endian swapping 2024-03-05 20:54:15 +02:00
ti wifi: wlcore: sdio: Rate limit wl12xx_sdio_raw_{read,write}() failures warns 2024-03-05 20:53:46 +02:00
virtual rtnetlink: prepare nla_put_iflink() to run under RCU 2024-02-26 11:46:12 +00:00
zydas wifi: zd1211rw: silence sparse warnings 2024-02-28 13:37:23 +02:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00