diff options
author | Thomas Weißschuh <[email protected]> | 2024-04-11 23:33:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-29 11:18:28 +0200 |
commit | ee59be35d7a8be7fcaa2d61fb89734ab5c25e4ee (patch) | |
tree | 3c8d0e4c8172dee4ff1192afb59a3ba088fdf94d /lib/dynamic_debug.c | |
parent | 4108a30f1097eead0f6bd5d885e6bf093b4d460f (diff) |
misc/pvpanic-pci: register attributes via pci_driver
In __pci_register_driver(), the pci core overwrites the dev_groups field of
the embedded struct device_driver with the dev_groups from the outer
struct pci_driver unconditionally.
Set dev_groups in the pci_driver to make sure it is used.
This was broken since the introduction of pvpanic-pci.
Fixes: db3a4f0abefd ("misc/pvpanic: add PCI driver")
Cc: [email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Fixes: ded13b9cfd59 ("PCI: Add support for dev_groups to struct pci_driver")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions