On 2023-12-18 18:05, Jan Beulich wrote:
> On 14.12.2023 12:44, Nicola Vetrini wrote:
>> --- a/xen/include/acpi/acmacros.h
>> +++ b/xen/include/acpi/acmacros.h
>> @@ -111,7 +111,7 @@
>>
>> #define ACPI_TO_POINTER(i) ACPI_ADD_PTR (void,(void *)
>> NULL,(acpi_native_uint) i)
>> #define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p,(void *)
>> NULL)
>> -#define ACPI_OFFSET(d,f) (acpi_size) ACPI_PTR_DIFF
>> (&(((d *)0)->f),(void *) NULL)
>> +#define ACPI_OFFSET(d,f) (acpi_size) ACPI_PTR_DIFF
>> (&(((d *)NULL)->f),(void *) NULL)
>> #define ACPI_PHYSADDR_TO_PTR(i) ACPI_TO_POINTER(i)
>> #define ACPI_PTR_TO_PHYSADDR(i) ACPI_TO_INTEGER(i)
>>
>
> This again is an ACPI CA header, which I'm hesitant to see being
> changed.
>
> Jan
Yes, I sent this before the discussion on R11.8. I'm ok with adding all
these files derived from ACPI CA to exclude-list.json, so in that case
the patch can be ignored.
--
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)