Skip to content
Snippets Groups Projects
user avatar
Myron Stowe authored
JIRA: https://issues.redhat.com/browse/RHEL-83611
Upstream Status: 188973e3536a18aebee3af486cd3d2ef82b09f88

commit 188973e3536a18aebee3af486cd3d2ef82b09f88
Author: Dongdong Zhang <zhangdongdong@eswincomputing.com>
Date:   Mon Dec 16 09:35:36 2024 +0800

    PCI: Remove redundant PCI_VSEC_HDR and PCI_VSEC_HDR_LEN_SHIFT

    Remove duplicate macro PCI_VSEC_HDR and its related macro
    PCI_VSEC_HDR_LEN_SHIFT from pci_regs.h to avoid redundancy and
    inconsistencies. Update VFIO PCI code to use PCI_VNDR_HEADER and
    PCI_VNDR_HEADER_LEN() for consistent naming and functionality.

    These changes aim to streamline header handling while minimizing impact,
    given the niche usage of these macros in userspace.

    Link: https://lore.kernel.org/r/20241216013536.4487-1-zhangdongdong@eswincomputing.com


Signed-off-by: default avatarDongdong Zhang <zhangdongdong@eswincomputing.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarAlex Williamson <alex.williamson@redhat.com>

Signed-off-by: default avatarMyron Stowe <mstowe@redhat.com>
d73c2c91
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.