RE: [RFC PATCH] acpi: Use a more normal logging style for ACPI_<LEVEL> calls

From: Moore, Robert
Date: Tue Mar 29 2016 - 13:50:15 EST




> -----Original Message-----
> From: Joe Perches [mailto:joe@xxxxxxxxxxx]
> Sent: Tuesday, March 29, 2016 9:57 AM
> To: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; Len Brown
> Cc: linux-acpi@xxxxxxxxxxxxxxx; linux-kernel; devel@xxxxxxxxxx
> Subject: Re: [RFC PATCH] acpi: Use a more normal logging style for
> ACPI_<LEVEL> calls
>
> On Tue, 2016-03-29 at 15:34 +0000, Moore, Robert wrote:
> > On the other hand, we removed AE_INFO from ACPI_INFO a while back, and
> > this may remove the necessity for the double parens.
>
> Hmm, maybe not.  It may be that MSVC's support for __VA_ARGS__ is a bit
> unusual.  What's the minimum ACPICA msvc version required?

6 I think.

The AE_INFO automatically injects the module name, line number, etc.

Compatibility across compilers is a major requirement for us.