lkml.org 
[lkml]   [2021]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v1 2/2] ACPI: OSL: Clean up printing messages
From
Date
On Mon, 2021-02-08 at 19:59 +0100, Rafael J. Wysocki wrote:
> Replace the ACPI_DEBUG_PRINT() instance in osl.c unrelated to the
> ACPICA debug with acpi_handle_debug(), add a pr_fmt() definition
> to osl.c and replace direct printk() usage in that file with the
> suitable pr_*() calls.
[]
> ===================================================================
> --- linux-pm.orig/drivers/acpi/osl.c
> +++ linux-pm/drivers/acpi/osl.c
[]
> @@ -528,13 +531,13 @@ acpi_os_predefined_override(const struct
>  
>
>   *new_val = NULL;
>   if (!memcmp(init_val->name, "_OS_", 4) && strlen(acpi_os_name)) {
> - printk(KERN_INFO PREFIX "Overriding _OS definition to '%s'\n",
> + pr_info("Overriding _OS definition to '%s'\n",
>   acpi_os_name);

If you do more of these, perhaps rewrap lines to 80 columns when possible.

pr_info("Overriding _OS definition to '%s'\n", acpi_os_name);

etc...


\
 
 \ /
  Last update: 2021-02-08 22:37    [W:0.072 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site