Messages in this thread Patch in this message | | | From | Jia He <> | Subject | [PATCH 1/4] iwlwifi: mvm: Explicitly use %pd1 in debugfs entry | Date | Wed, 28 Apr 2021 21:59:26 +0800 |
| |
'%pd'(no digit following) will mean to print last 4 components of file dentry. Hence explicitly use %pd1 instead.
Signed-off-by: Jia He <justin.he@arm.com> --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c index 38d0bfb649cc..41ccbb4286c2 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c @@ -752,7 +752,7 @@ void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) * find * netdev:wlan0 -> ../../../ieee80211/phy0/netdev:wlan0/iwlmvm/ */ - snprintf(buf, 100, "../../../%pd3/%pd", + snprintf(buf, 100, "../../../%pd3/%pd1", dbgfs_dir, mvmvif->dbgfs_dir); -- 2.17.1
| |