Message ID | 20210428135929.27011-1-justin.he@arm.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Luca Coelho |
Headers | show |
Series | [1/4] iwlwifi: mvm: Explicitly use %pd1 in debugfs entry | expand |
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);
'%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(-)