[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1566989985.26704.2@gmail.com>
Date: Wed, 28 Aug 2019 12:59:45 +0200
From: Krzysztof Wilczynski <kswilczynski@...il.com>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Krzysztof Wilczynski <kw@...ux.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/PCI: Add missing log facility and move to use pr_
macros in pcbios.c
Hello Bjorn,
Thank you for the feedback.
[...]
>> Make the log facility used to print warnings to be KERN_WARNING
>> explicitly, rather than rely on the current (or default) value
>> of the MESSAGE_LOGLEVEL_DEFAULT set in Kconfig. This will make
>> all the warnings in the arch/x86/pci/pcbios.c to be printed
>> consistently at the same log facility.
>
> This is slightly confusing. There are only two messages that didn't
> supply a log level, so the avoidance of MESSAGE_LOGLEVEL_DEFAULT
> applies to those.
Good point. I will update both the wording and the explanation so that
it would be more accurate and make a whole lot more sense.
[...]
> Might be worth doing this as well:
>
> #define pr_fmt(fmt) "PCI: " fmt
>
> and removing the "PCI: " prefix from the messages. This would change
> the "bios32_service" output slightly, but I think the change would be
> a good one.
Will do. The v2 have all the improvements. Thank you!
Krzysztof
Powered by blists - more mailing lists