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: Sun, 13 Mar 2022 09:09:53 +0100 From: Takashi Iwai <tiwai@...e.de> To: Julia Lawall <Julia.Lawall@...ia.fr> Cc: Jaroslav Kysela <perex@...ex.cz>, kernel-janitors@...r.kernel.org, Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 3/6] ALSA: seq: oss: use kzalloc On Sat, 12 Mar 2022 11:27:02 +0100, Julia Lawall wrote: > > Use kzalloc instead of kmalloc + memset. > > The semantic patch that makes this change is: > (https://coccinelle.gitlabpages.inria.fr/website/) > > //<smpl> > @@ > expression res, size, flag; > @@ > - res = kmalloc(size, flag); > + res = kzalloc(size, flag); > ... > - memset(res, 0, size); > //</smpl> > > Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr> Applied, thanks. Takashi
Powered by blists - more mailing lists