Files
linux/drivers
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
..
2024-02-06 20:07:35 +02:00
2024-02-16 18:51:00 -05:00
2024-03-03 02:32:35 +00:00
2024-03-07 20:26:24 -08:00
2024-03-11 17:11:28 -07:00
2024-01-05 15:55:41 +05:30
2024-02-06 20:07:12 +02:00
2024-01-04 17:03:47 +01:00
2024-02-19 11:10:55 +01:00
2024-01-12 12:38:37 +01:00