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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 17 Jun 2014 15:31:14 -0700 (PDT) From: David Miller <davem@...emloft.net> To: himangi774@...il.com Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, julia.lawall@...6.fr Subject: Re: [PATCH v2] net/nxp/lpc_eth: use devm_ functions From: Himangi Saraogi <himangi774@...il.com> Date: Fri, 13 Jun 2014 23:33:56 +0530 > The various devm_ functions allocate memory that is released when a > driver detaches. This patch uses dmam_alloc_coherent, devm_ioremap > devm_clk_get etc. for data that is allocated in the probe function of > platform device and is only freed in the remove function. The > corresponding free functions are removed and many labels are done > away with. > > Signed-off-by: Himangi Saraogi <himangi774@...il.com> > Acked-by: Julia Lawall <julia.lawall@...6.fr> > --- > v2: undo use of devm_request_irq > Not compile tested This doesn't apply cleanly to any of my trees. -- 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