ACPI: Fix LAPIC_ADDR_OVR address print
PATCH v2 1/1 ACPI: Fix LAPIC_ADDR_OVR address print
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 <[email protected]>
Signed-off-by Suravee Suthikulpanit <[email protected]>
Signed-off-by Vasant Hegde <[email protected]>
---
Changes in v2:
- Added Missing Co-developed-by tag - Thanks Rafael.
-Vasant
drivers/acpi/tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/tables.c +2 -2
@@ -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 ;
Signature · 1 line
2.27.0
Rafael J. Wysocki
maintainerQuoted 25 lines · Vasant Hegde
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 <[email protected]>Signed-off-by Suravee Suthikulpanit <[email protected]>Signed-off-by Vasant Hegde <[email protected]>---
Changes in v2:
- Added Missing Co-developed-by tag - Thanks Rafael.(quoted diff) +0
-1-Vasant drivers/acpi/tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/acpi/tables.c +0
-0@@ -151,8 +151,8 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header) {
drivers/acpi/tables.c void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
Quoted 10 lines
drivers/acpi/tables.c +2
-3struct 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!