summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-04-13 15:09:49 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-20 10:36:22 +0200
commit1c5e1cdd7c1f34e6d7f22f9b819a307e435e780e (patch)
tree8bfc77413494549ecaef9c7ace13b8f0553af8cf /scripts/gdb/linux/genpd.py
parentae83d0b416db002fe95601e7f97f64b59514d936 (diff)
ACPI/PCI: pci_link: use extended_irq union member when setting ext-irq shareable
The case ACPI_RESOURCE_TYPE_EXTENDED_IRQ inside acpi_pci_link_set() is correctly using resource->res.data.extended_irq.foo for most settings, but for the shareable setting it so far has accidentally been using resource->res.data.irq.shareable instead of resource->res.data.extended_irq.shareable. Note that the old code happens to also work because the shareable field offset is the same for both the acpi_resource_irq and acpi_resource_extended_irq structs. Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions