Comment 0 for bug 2011389

Revision history for this message
You-Sheng Yang (vicamo) wrote :

vmd may fail to create sysfs entry while `pci_rescan_bus()` called in some other drivers like wwan.

sysfs: cannot create duplicate filename '/devices/.../resource0'
Call Trace:
 <TASK>
 sysfs_warn_dup.cold+0x17/0x34
 sysfs_add_bin_file_mode_ns+0xc0/0xf0
 sysfs_create_bin_file+0x6d/0xb0
 pci_create_attr+0x117/0x260
 pci_create_resource_files+0x6b/0x150
 pci_create_sysfs_dev_files+0x18/0x30
 pci_bus_add_device+0x30/0x80
 pci_bus_add_devices+0x31/0x80
 pci_bus_add_devices+0x5b/0x80
 vmd_enable_domain.constprop.0+0x6b7/0x880 [vmd]
 vmd_probe+0x16d/0x193 [vmd]