]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI/DOE: Rename Discovery Response Data Object Contents to type
authorAlistair Francis <alistair@alistair23.me>
Thu, 6 Mar 2025 07:52:09 +0000 (17:52 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Mar 2025 18:48:16 +0000 (12:48 -0600)
commitf810d17762fba58b0b547c5fdd77a24e7aa1e939
tree85329dd512886eb7487e6061b0bf26844251e02b
parentb4db6be0ceec490f639d2e47449ffe3dd6db7679
PCI/DOE: Rename Discovery Response Data Object Contents to type

PCIe r6.1, sec 6.30.1.1, describes a "Vendor ID", a "Data Object Type" and
"Next Index" as the fields in the DOE Discovery Response Data Object. The
DOE driver currently uses both the terms 'type' and 'prot' for the second
element.

Rename all uses of the DOE Discovery Response Data Object to use 'type' as
the second element of the object header, instead of type/prot as it
currently is.

Link: https://lore.kernel.org/r/20250306075211.1855177-2-alistair@alistair23.me
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/pci/doe.c
include/uapi/linux/pci_regs.h