1
linux/Documentation/driver-api/driver-model
Philipp Stanner 8839adc33f Documentation: devres: fix error about PCI devres
The documentation states that pcim_enable_device() will make "all PCI
ops" managed. This is totally false, only a small subset of PCI
functions become managed that way. Implicating otherwise has caused at
least one bug so far, namely in commit 8558de401b ("drm/vboxvideo: use
managed pci functions").

Change the function summary so the functions dangerous behavior becomes
obvious.

Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240809095248.14220-2-pstanner@redhat.com
2024-08-16 16:29:53 -06:00
..
binding.rst docs: driver-model: move it to the driver-api book 2019-07-15 11:03:02 -03:00
bus.rst driver core: bus: mark the struct bus_type for sysfs callbacks as constant 2023-03-23 13:20:40 +01:00
design-patterns.rst docs: driver-model: move it to the driver-api book 2019-07-15 11:03:02 -03:00
device.rst docs: driver-model: device: Add ATTRIBUTE_GROUPS() example 2021-03-08 17:06:56 -07:00
devres.rst Documentation: devres: fix error about PCI devres 2024-08-16 16:29:53 -06:00
driver.rst
index.rst docs: driver-model: Remove obsolete device class documentation 2021-03-06 17:36:51 -07:00
overview.rst docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
platform.rst docs: driver-model: platform: update the definition of platform_driver 2024-07-12 14:46:36 -06:00
porting.rst docs: driver-model: move it to the driver-api book 2019-07-15 11:03:02 -03:00