lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 5 May 2021 09:32:35 +0100
From:   Jonathan Cameron <Jonathan.Cameron@...wei.com>
To:     Guenter Roeck <linux@...ck-us.net>
CC:     Andy Shevchenko <andy.shevchenko@...il.com>,
        Jonathan Cameron <jic23@...nel.org>,
        linux-iio <linux-iio@...r.kernel.org>,
        "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
        kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] iio: bme680_i2c: Make bme680_acpi_match depend on
 CONFIG_ACPI

On Tue, 4 May 2021 11:00:52 -0700
Guenter Roeck <linux@...ck-us.net> wrote:

> On 5/4/21 10:44 AM, Andy Shevchenko wrote:
> > On Tue, May 4, 2021 at 8:40 PM Guenter Roeck <linux@...ck-us.net> wrote:  
> >>
> >> With CONFIG_ACPI=n and -Werror, 0-day reports:
> >>
> >> drivers/iio/chemical/bme680_i2c.c:46:36: error:
> >>         'bme680_acpi_match' defined but not used  
> >   
> >> Given the other patch, question of course is if this ACPI ID
> >> is real. A Google search suggests that this might not be the case.
> >> Should we remove it as well ? STK8312 has the same problem.  
> > 
> > For this one definitely removal. Looking into the code it suggests a
> > cargo cult taken that time by a few contributors to invent fake ACPI
> > IDs while submitting new drivers.
> > Feel free to add my tag or if you wish me I'll add it explicitly.
> >   
> 
> I'll resend and let you add the tag, and send a similar patch
> for STK8312. I'll wait until tomorrow, though - I sent a number of
> patches today already, and I want to avoid yet another "account
> suspended" notice from gmail.

If you find some valid ACPI entries that are hitting this problem,
I'd prefer we just got rid of the ACPI_PTR() usecases rather than
added IFDEF magic.

The space wasted by having these is trivial and I'd rather not
introduce ifdef around any of these tables.

Dropping the ones we are fairly sure are spurious is even better!

Thanks,

Jonathan

> 
> Thanks,
> Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ