mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
display_get_pci_dev_of() gets a referenced PCI device via
pci_get_device(). Drop that reference when pci_enable_device() fails and
release it during the managed teardown path after pci_disable_device().
Without that, ofdrm leaks the pci_dev reference on both the error path
and the normal cleanup path.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| corebootdrm.c | ||
| drm_sysfb.c | ||
| drm_sysfb_helper.h | ||
| drm_sysfb_modeset.c | ||
| drm_sysfb_screen_info.c | ||
| efidrm.c | ||
| Kconfig | ||
| Makefile | ||
| ofdrm.c | ||
| simpledrm.c | ||
| vesadrm.c | ||