Re: [PATCH] x86/acpi: Switch to pr_xxx log functions
From: Ingo Molnar
Date: Fri May 14 2021 - 03:07:36 EST
* Heiner Kallweit <hkallweit1@xxxxxxxxx> wrote:
> Switching to pr_debug et al has two benefits:
> - We don't have to add PREFIX to each log statement
> - Debug output is suppressed except DEBUG is defined or dynamic
> debugging is enabled for the respective code piece.
>
> In addition ensure that longer messages aren't split to multiple lines
> in source code, checkpatch complains otherwise.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> ---
> arch/x86/kernel/acpi/boot.c | 118 ++++++++++++++----------------------
> 1 file changed, 47 insertions(+), 71 deletions(-)
Reviewed-by: Ingo Molnar <mingo@xxxxxxxxxx>
Thanks,
Ingo