Re: [Patch v3 1/6] devres: introduce API "devm_kmemdup

2014-04-12 Thread Greg Kroah-Hartman
On Sat, Apr 12, 2014 at 05:39:37PM +0100, Jonathan Cameron wrote: > On 09/04/14 01:56, Srinivas Pandruvada wrote: > > Introduce devm_kmemdup, which uses resource managed kmalloc. > > There are several request from maintainers to add this instead > > of using kmemdup. > > > > Signed-off-by: Srinivas

Re: [Patch v3 1/6] devres: introduce API "devm_kmemdup

2014-04-12 Thread Jonathan Cameron
On 09/04/14 01:56, Srinivas Pandruvada wrote: Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. Signed-off-by: Srinivas Pandruvada I've been trying to work out who else should be cc'd on this and so far

[Patch v3 1/6] devres: introduce API "devm_kmemdup

2014-04-08 Thread Srinivas Pandruvada
Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. Signed-off-by: Srinivas Pandruvada --- Documentation/driver-model/devres.txt | 1 + drivers/base/devres.c | 21 + inc