Re: [PATCH] ACPICA: Silent warnings about empty body in if/else statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Feb 2018 11:14:07 +0100, Rafael J. Wysocki wrote:
> On Tue, Feb 27, 2018 at 10:23 AM, Jean Delvare <jdelvare@xxxxxxx> wrote:
> > OK, thanks for the information. I'll update the i2c-scmi driver to
> > no longer use ACPI_DEBUG_PRINT. There are a few other drivers using it as
> > well though (xo15-ebook and panasonic-laptop, as well as
> > xen-acpi-memhotplug - not sure if you consider that one as more
> > legitimate.)  
> 
> None of them is valid IMO.  ACPI_DEBUG_PRINT() really should only be
> used in the ACPICA code.

What about ACPI_ERROR()? The i2c-scmi driver uses these as well. Should
I convert them to dev_err()?

Thanks,
-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux