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, 31 Mar 2013 23:29:11 -0700 From: Anton Vorontsov <anton@...msg.org> To: Jingoo Han <jg1.han@...sung.com> Cc: 'David Woodhouse' <dwmw2@...radead.org>, linux-kernel@...r.kernel.org Subject: Re: [PATCH 01/14] power: 88pm860x_charger: drop kfree of devm_kzalloc'd data On Mon, Mar 11, 2013 at 03:30:40PM +0900, Jingoo Han wrote: > The devm_kzalloc function allocates memory that is released > automatically, when a driver detaches. Thus, there is no reason > to explicitly call kfree in probe or remove functions. > > Signed-off-by: Jingoo Han <jg1.han@...sung.com> > --- 1-14 applied, thanks! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists