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] [day] [month] [year] [list]
Date:   Wed, 10 Jun 2020 17:39:26 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Jerome Brunet <jbrunet@...libre.com>
Cc:     kbuild test robot <lkp@...el.com>, kbuild-all@...ts.01.org,
        clang-built-linux@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: sound/soc/meson/t9015.c:315:34: warning: unused variable
 't9015_ids'

On Wed, Jun 10, 2020 at 05:31:03PM +0200, Jerome Brunet wrote:

> I'm not sure what to do with this report.
> I tried to reproduce has instructed, the log is full of warnings and the
> compilation eventually fails to link.

> It seems that most (if not all) drivers with a MODULE_DEVICE_TABLE() show
> this warning with the provided .config (COMPILE_TEST).

> When compiled with gcc, no such warning is shown.
> I can remove COMPILE_TEST for this driver, it will make the warning go
> away but I'm not sure it is appropriate.

I'd just ignore it for now - it seems like there's lots of false
positives from this warning which like you say are more global issues
and only show up at W=1.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ