]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'pci-v5.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Nov 2021 23:10:18 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Nov 2021 23:10:18 +0000 (15:10 -0800)
commit96753a983fb733c7f48fce42a9d81e198bf00af5
tree65eaac2536356b0741266926ae70b2924d2565d3
parent09b2c05e0814c682af093b2a26eabac7401cde18
parent1c946c15ec2bcec8e1319791de88c6d61245995c
Merge tag 'pci-v5.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci

Pull PCI fixes from Bjorn Helgaas:
 "Revert conversion to struct device.driver instead of struct
  pci_dev.driver.

  The device.driver is set earlier, and using it caused the PCI core to
  call driver PM entry points before .probe() and after .remove(), when
  the driver isn't prepared.

  This caused NULL pointer dereferences in i2c_designware_pci and
  probably other driver issues"

* tag 'pci-v5.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
  Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"
  Revert "PCI: Remove struct pci_dev->driver"
drivers/pci/pci.c
include/linux/pci.h