]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'pci/portdrv'
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 6 Feb 2026 23:09:18 +0000 (17:09 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 6 Feb 2026 23:09:18 +0000 (17:09 -0600)
commit077557d13f092ebef03f39ba7940e76fce1fd82a
treef6028bb2e1f1b5a48a598227abbaba87c9fb46e7
parent85fdfc522afd2e81921656853b5f23a1f22984f5
parentcba202aa355d2c6297d55c9d5dacceae01266b9c
Merge branch 'pci/portdrv'

- Drop device reference unconditionally in pcie_port_remove_service() to
  fix resource leak (Uwe Kleine-König)

- Remove empty pcie_port_shutdown_service() callback (Uwe Kleine-König)

- Remove unnecessary bus_type check in pcie_port_bus_match() (Uwe
  Kleine-König)

- Move pcie_port_bus_match() and pcie_port_bus_type to PCIe-specific
  portdrv.c (Uwe Kleine-König)

- Remove unnecessary dev and dev->driver checks in portdrv .probe() and
  .remove() (Uwe Kleine-König)

- Take advantage of pcie_port_bus_type.probe() and .remove() instead of
  assigning them for each portdrv service driver (Uwe Kleine-König)

* pci/portdrv:
  PCI/portdrv: Use bus-type functions
  PCI/portdrv: Don't check for valid device and driver in bus callbacks
  PCI/portdrv: Move pcie_port_bus_type to pcie source file
  PCI/portdrv: Don't check for the driver's and device's bus
  PCI/portdrv: Drop empty shutdown callback
  PCI/portdrv: Fix potential resource leak