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
| ||
|
Date: Thu, 16 Jun 2016 13:38:21 +0200 From: Arnd Bergmann <arnd@...db.de> To: unlisted-recipients:; (no To-header on input) Cc: Arnd Bergmann <arnd@...db.de>, Sudeep Dutt <sudeep.dutt@...el.com>, Ashutosh Dixit <ashutosh.dixit@...el.com>, Dept-GELinuxNICDev@...gic.com, Samuel Chessman <chessman@....org>, Felipe Balbi <balbi@...nel.org>, Tomi Valkeinen <tomi.valkeinen@...com>, netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-usb@...r.kernel.org, linux-fbdev@...r.kernel.org, Dave Jones <davej@...emonkey.org.uk> Subject: [PATCH 0/5] treewide: fix unused-but-set warnings I did some test-builds with W=1 and the -Wunused-but-set-variable warnings appeared to be all fairly easy to address. In tons of randconfig builds, I only found five instances. The warning was originally disabled by Dave Jones when we hit more instances with gcc-4.6, but apparently most of those have gotten addressed anyway. All five patches can be applied independently, and in each case, the original code is not wrong, but the assignments are also useless, so I'd consider this warning marginally useful. I have a few other patch series for W=1 issues, and we can consider turning those on by default once all the patches are merged. Arnd Arnd Bergmann (5): net: qlcnic: don't set unused function argument net: tlan: don't set unused function argument mic: remove unused function arg usb: pxa27x_udc: remove unused function argument fbmon: remove unused function argument drivers/misc/mic/scif/scif_dma.c | 6 ++---- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 1 - drivers/net/ethernet/ti/tlan.c | 1 - drivers/usb/gadget/udc/pxa27x_udc.c | 9 +++------ drivers/video/fbdev/core/fbmon.c | 1 - 5 files changed, 5 insertions(+), 13 deletions(-) -- 2.9.0 Cc: Sudeep Dutt <sudeep.dutt@...el.com> Cc: Ashutosh Dixit <ashutosh.dixit@...el.com> Cc: Dept-GELinuxNICDev@...gic.com Cc: Samuel Chessman <chessman@....org> Cc: Felipe Balbi <balbi@...nel.org> Cc: Tomi Valkeinen <tomi.valkeinen@...com> Cc: netdev@...r.kernel.org Cc: linux-arm-kernel@...ts.infradead.org Cc: linux-usb@...r.kernel.org Cc: linux-fbdev@...r.kernel.org Cc: Dave Jones <davej@...emonkey.org.uk>
Powered by blists - more mailing lists