]> git.itanic.dy.fi Git - linux-stable/commit
PCI/DPC: Use defines with DPC reason fields
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 18 Oct 2023 11:32:53 +0000 (14:32 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Oct 2023 15:54:04 +0000 (10:54 -0500)
commit74f0b5ffe172f913c56e4f5291678bad2a55b6b1
treec4154b8dc0a4be3b5d7791856965ecc405951d13
parentf00e8dbdedfb0dc2b5712d2170e7fcbe4eb93603
PCI/DPC: Use defines with DPC reason fields

Add new defines for DPC reason fields and use them instead of literals.

Link: https://lore.kernel.org/r/20231018113254.17616-7-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
[bhelgaas: shorten comments]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/dpc.c
include/uapi/linux/pci_regs.h