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 17:33:26 -0700 (PDT) From: David Miller <davem@...emloft.net> To: arnd@...db.de Cc: Dept-GELinuxNICDev@...gic.com, rajesh.borundia@...gic.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 1/5] net: qlcnic: don't set unused function argument From: Arnd Bergmann <arnd@...db.de> Date: Thu, 16 Jun 2016 13:38:22 +0200 > We get a warning for qlcnic_83xx_get_mac_address when building with > "make W=1": > > drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c: In function 'qlcnic_83xx_get_mac_address': > drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:2156:8: error: parameter 'function' set but not used [-Werror=unused-but-set-parameter] > > Clearly this is harmless, but there is also no point for setting > the variable, so we can simply remove the assignment. > > Signed-off-by: Arnd Bergmann <arnd@...db.de> Applied to net-next.
Powered by blists - more mailing lists