[BUG][PATCH 0/2] SGI PCI hotplug driver problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I noticed the following regression problems in SGI hotplug driver. I'm
sending the patches for these problems. Unfortunately, I don't have any
hardware environment to test the patches, so I hope someone test the
patches on a appropreate environment.

 - The commit bd3d99c17039fd05a29587db3f4a180c48da115a ("PCI: Remove
   untested Electromechanical Interlock (EMI) support in pciehp."),
   which removes the definition of "struct hotplug_slot_attr", broke
   SGI hotplug driver because SGI hotplug driver is still using struct
   hotplug_slot_attr.

 - Adding the struct hotplug_slot_attr definition again is not enough
   because hotplug_slot_attr no longer work. Maybe by the recent pci
   slot changes, callbacks of attributes under /sys/bus/pci/slots had
   been changed to get the pointer to struct pci_slot instead of struct
   hotplug_slot. So the path_show() that assumes the parameter is a
   pointer to struct hotplug_slot seems broken.

The patches are:

 - [PATCH 1/2] SGI hotplug: fix build failure
 - [PATCH 2/2] SGI hotplug: do not use hotplug_slot_attr

Thanks,
Kenji Kaneshige

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux