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]
Message-Id: <171377378377.1025456.1313405994816400451.b4-ty@ellerman.id.au>
Date: Mon, 22 Apr 2024 18:16:23 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
	Michael Ellerman <mpe@...erman.id.au>,
	Christophe Leroy <christophe.leroy@...roup.eu>,
	Damien Le Moal <dlemoal@...nel.org>, Jiri Kosina <jikos@...nel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Corey Minyard <minyard@....org>, Peter Huewe <peterhuewe@....de>,
	Jarkko Sakkinen <jarkko@...nel.org>, Tero Kristo <kristo@...nel.org>,
	Stephen Boyd <sboyd@...nel.org>, Ian Abbott <abbotti@....co.uk>,
	H Hartley Sweeten <hsweeten@...ionengravers.com>,
	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
	Len Brown <lenb@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
	John Allen <john.allen@....com>,
	Herbert Xu <herbert@...dor.apana.org.au>,
	Vinod Koul <vkoul@...nel.org>, Ard Biesheuvel <ardb@...nel.org>,
	Bjorn Andersson <andersson@...nel.org>,
	Moritz Fischer <mdf@...nel.org>, Liviu Dudau <liviu.dudau@....com>,
	Benjamin Tissoires <benjamin.tissoires@...hat.com>,
	Andi Shyti <andi.shyti@...nel.org>,
	Michael Hennerich <michael.hennerich@...log.com>,
	Peter Rosin <peda@...ntia.se>, Lars-Peter Clausen <lars@...afoo.de>,
	Jonathan Cameron <jic23@...nel.org>,
	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Markuss Broks <markuss.broks@...il.com>,
	Alexandre Torgue <alexandre.torgue@...s.st.com>,
	Lee Jones <lee@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
	Shyam Sundar S K <Shyam-sundar.S-k@....com>,
	Iyappan Subramanian <iyappan@...amperecomputing.com>,
	Yisen Zhuang <yisen.zhuang@...wei.com>,
	Stanislaw Gruszka <stf_xl@...pl>, Kalle Valo <kvalo@...nel.org>,
	Sebastian Reichel <sre@...nel.org>, Tony Lindgren <tony@...mide.com>,
	Mark Brown <broonie@...nel.org>,
	Alexandre Belloni <alexandre.belloni@...tlin.com>,
	Xiang Chen <chenxiang66@...ilicon.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	Neil Armstrong <neil.armstrong@...aro.org>,
	Heiko Stuebner <heiko@...ech.de>,
	Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
	Vaibhav Hiremath <hvaibhav.linux@...il.com>,
	Alex Elder <elder@...nel.org>, Jiri Slaby <jirislaby@...nel.org>,
	Jacky Huang <ychuang3@...oton.com>, Helge Deller <deller@....de>,
	Christoph Hellwig <hch@....de>, Robin Murphy <robin.murphy@....com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Masami Hiramatsu <mhiramat@...nel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Kees Cook <keescook@...omium.org>,
	Trond Myklebust <trond.myklebust@...merspace.com>,
	Anna Schumaker <anna@...nel.org>,
	Masahiro Yamada <masahiroy@...nel.org>,
	Nathan Chancellor <nathan@...nel.org>, Takashi Iwai <tiwai@...e.com>,
	linuxppc-dev@...ts.ozlabs.org, linux-ide@...r.kernel.org,
	openipmi-developer@...ts.sourceforge.net,
	linux-integrity@...r.kernel.org, linux-omap@...r.kernel.org,
	linux-clk@...r.kernel.org, linux-pm@...r.kernel.org,
	linux-crypto@...r.kernel.org, dmaengine@...r.kernel.org,
	linux-efi@...r.kernel.org, linux-arm-msm@...r.kernel.org,
	linux-fpga@...r.kernel.org, dri-devel@...ts.freedesktop.org,
	linux-input@...r.kernel.org, linux-i2c@...r.kernel.org,
	linux-iio@...r.kernel.org, linux-stm32@...md-mailman.stormr,
	eply.com@....codeaurora.org, linux-arm-kernel@...ts.infradead.org,
	netdev@...r.kernel.org, linux-leds@...r.kernel.org,
	linux-wireless@...r.kernel.org, linux-rtc@...r.kernel.org,
	linux-scsi@...r.kernel.org, linux-spi@...r.kernel.org,
	linux-amlogic@...ts.infradead.org,
	linux-rockchip@...ts.infradead.org,
	linux-samsung-soc@...r.kernel.org, greybus-dev@...ts.linaro.org,
	linux-staging@...ts.linux.dev, linux-serial@...r.kernel.org,
	linux-usb@...r.kernel.org, linux-fbdev@...r.kernel.org,
	iommu@...ts.linux.dev, linux-trace-kernel@...r.kernel.org,
	kasan-dev@...glegroups.com, linux-hardening@...r.kernel.org,
	linux-nfs@...r.kernel.org, linux-kbuild@...r.kernel.org,
	alsa-devel@...a-project.org, linux-sound@...r.kernel.org
Subject: Re: (subset) [PATCH 00/34] address all -Wunused-const warnings

On Wed, 03 Apr 2024 10:06:18 +0200, Arnd Bergmann wrote:
> Compilers traditionally warn for unused 'static' variables, but not
> if they are constant. The reason here is a custom for C++ programmers
> to define named constants as 'static const' variables in header files
> instead of using macros or enums.
> 
> In W=1 builds, we get warnings only static const variables in C
> files, but not in headers, which is a good compromise, but this still
> produces warning output in at least 30 files. These warnings are
> almost all harmless, but also trivial to fix, and there is no
> good reason to warn only about the non-const variables being unused.
> 
> [...]

Applied to powerpc/next.

[01/34] powerpc/fsl-soc: hide unused const variable
        https://git.kernel.org/powerpc/c/01acaf3aa75e1641442cc23d8fe0a7bb4226efb1

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ