Re: [PATCH v2] ACPI: Fix LAPIC_ADDR_OVR address print

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 17, 2022 at 7:42 AM Vasant Hegde <vasant.hegde@xxxxxxx> wrote:
>
> Without fix:
>   [    0.005429] ACPI: LAPIC_ADDR_OVR (address[(____ptrval____)])
>
> With fix:
>   [    0.005429] ACPI: LAPIC_ADDR_OVR (address[0x800fee00000])
>
> Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
> Signed-off-by: Vasant Hegde <vasant.hegde@xxxxxxx>
> ---
> Changes in v2:
>   - Added Missing Co-developed-by tag - Thanks Rafael.
>
> -Vasant
>
>  drivers/acpi/tables.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index 0741a4933f62..550e9512534c 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -151,8 +151,8 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
>                 {
>                         struct acpi_madt_local_apic_override *p =
>                             (struct acpi_madt_local_apic_override *)header;
> -                       pr_info("LAPIC_ADDR_OVR (address[%p])\n",
> -                               (void *)(unsigned long)p->address);
> +                       pr_info("LAPIC_ADDR_OVR (address[0x%llx])\n",
> +                               p->address);
>                 }
>                 break;
>
> --

Applied (with an adjusted subject) as 5.18-rc material, thanks!



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux