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, 17 Nov 2016 06:45:55 +0000 (UTC) From: Kalle Valo <kvalo@...eaurora.org> To: Jiri Slaby <jslaby@...e.cz> Cc: chunkeey@...glemail.com, linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.cz>, linux-wireless@...r.kernel.org, netdev@...r.kernel.org Subject: Re: p54: memset(0) whole array Jiri Slaby <jslaby@...e.cz> wrote: > gcc 7 complains: > drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_scan': > drivers/net/wireless/intersil/p54/fwio.c:491:4: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] > > Fix that by passing the correct size to memset. > > Signed-off-by: Jiri Slaby <jslaby@...e.cz> > Cc: Christian Lamparter <chunkeey@...glemail.com> > Cc: Kalle Valo <kvalo@...eaurora.org> > Cc: linux-wireless@...r.kernel.org > Cc: netdev@...r.kernel.org > Acked-by: Christian Lamparter <chunkeey@...glemail.com> Patch applied to wireless-drivers-next.git, thanks. 6f1758178820 p54: memset(0) whole array -- https://patchwork.kernel.org/patch/9376333/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists