Message ID | 20240712023626.1010559-3-admiyo@os.amperecomputing.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | MCTP over PCC | expand |
On Thu, 11 Jul 2024 22:36:25 -0400 admiyo@os.amperecomputing.com wrote: > From: Adam Young <admiyo@os.amperecomputing.com> > > Note that this patch is for code that will be merged > in via ACPICA changes. The corresponding patch in ACPCA Typo in ACPICA Add a link to the patch in the acpica tree as then its easier to identify exactly what needs pulling in before this merges. > has already merged. Thus, no changes can be made to this patch. > > Signed-off-by: Adam Young <admiyo@os.amperecomputing.com> > --- > drivers/acpi/acpica/rsaddr.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/acpi/acpica/rsaddr.c b/drivers/acpi/acpica/rsaddr.c > index fff48001d7ef..9f8cfdc51637 100644 > --- a/drivers/acpi/acpica/rsaddr.c > +++ b/drivers/acpi/acpica/rsaddr.c > @@ -282,9 +282,10 @@ acpi_rs_get_address_common(struct acpi_resource *resource, > > /* Validate the Resource Type */ > > - if ((address.resource_type > 2) && (address.resource_type < 0xC0)) { > + if (address.resource_type > 2 && > + address.resource_type < 0xC0 && > + address.resource_type != 0x0A) > return (FALSE); > - } > > /* Get the Resource Type and General Flags */ >
diff --git a/drivers/acpi/acpica/rsaddr.c b/drivers/acpi/acpica/rsaddr.c index fff48001d7ef..9f8cfdc51637 100644 --- a/drivers/acpi/acpica/rsaddr.c +++ b/drivers/acpi/acpica/rsaddr.c @@ -282,9 +282,10 @@ acpi_rs_get_address_common(struct acpi_resource *resource, /* Validate the Resource Type */ - if ((address.resource_type > 2) && (address.resource_type < 0xC0)) { + if (address.resource_type > 2 && + address.resource_type < 0xC0 && + address.resource_type != 0x0A) return (FALSE); - } /* Get the Resource Type and General Flags */