]> git.itanic.dy.fi Git - linux-stable/commit
PCI/MSI: Use FIELD_GET/PREP()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 18 Oct 2023 11:32:54 +0000 (14:32 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Oct 2023 15:54:04 +0000 (10:54 -0500)
commit682f5311e3a4f637ad3fae835a14494c2769bc2b
tree997627da4640aa880bd073e789e205ed4317cf65
parent74f0b5ffe172f913c56e4f5291678bad2a55b6b1
PCI/MSI: Use FIELD_GET/PREP()

Instead of custom masking and shifting, use FIELD_GET/PREP() with
register fields.

Link: https://lore.kernel.org/r/20231018113254.17616-8-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi/msi.c