This series fixes two pre-existing debugfs issues in the MANA driver.

Patch 1 fixes the per-device debugfs directory naming to use the unique
PCI BDF address via pci_name(), avoiding a potential NULL pointer
dereference when pdev->slot is NULL (e.g. VFIO passthrough, nested KVM)
and preventing name collisions across multiple PFs or VFs.

Patch 2 moves the current_speed debugfs file creation from
mana_probe_port() to mana_init_port() so it survives detach/attach
cycles triggered by MTU changes or XDP program changes.

Erni Sri Satya Vennela (2):
  net: mana: Use pci_name() for debugfs directory naming
  net: mana: Move current_speed debugfs file to mana_init_port()

 drivers/net/ethernet/microsoft/mana/gdma_main.c | 7 ++-----
 drivers/net/ethernet/microsoft/mana/mana_en.c   | 4 ++--
 2 files changed, 4 insertions(+), 7 deletions(-)

-- 
2.34.1


Reply via email to