From d7e2dc844666cf3f488fd69409640f1f8a9844d4 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 21 Feb 2025 13:15:10 -0500 Subject: kernel: Update kernel log style Kernel logs must now all be lowercase for consistency. A new style called Peripheral Description Notation (PDN) has also been introduced to describe devices. Signed-off-by: Ian Moffett --- sys/dev/acpi/acpi_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/acpi') diff --git a/sys/dev/acpi/acpi_init.c b/sys/dev/acpi/acpi_init.c index f3de87d..bc8be77 100644 --- a/sys/dev/acpi/acpi_init.c +++ b/sys/dev/acpi/acpi_init.c @@ -54,7 +54,7 @@ acpi_init_hpet(void) { #if defined(__x86_64__) if (hpet_init() != 0) { - panic("Could not init HPET\n"); + panic("could not init HPET\n"); } #endif } @@ -107,14 +107,14 @@ acpi_init(void) /* Fetch the root SDT */ if (rsdp->revision >= 2) { root_sdt = PHYS_TO_VIRT(rsdp->xsdt_addr); - pr_trace("Using XSDT as root SDT\n"); + pr_trace("using XSDT as root SDT\n"); } else { root_sdt = PHYS_TO_VIRT(rsdp->rsdt_addr); - pr_trace("Using RSDT as root SDT\n"); + pr_trace("using RSDT as root SDT\n"); } if (acpi_checksum(&root_sdt->hdr) != 0) { - panic("Root SDT checksum is invalid!\n"); + panic("root SDT checksum is invalid!\n"); } root_sdt_entries = (root_sdt->hdr.length - sizeof(root_sdt->hdr)) / 4; -- cgit v1.2.3