diff options
author | Ian Moffett <ian@osmora.org> | 2025-02-21 13:15:10 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-02-21 13:26:21 -0500 |
commit | d7e2dc844666cf3f488fd69409640f1f8a9844d4 (patch) | |
tree | 2535df387fe0d21408c46ae4da81e7cc66432858 /sys/dev/acpi | |
parent | 5d7bb645345ff30124767289f3fa1b552df76cf1 (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpi_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |