Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-20 Thread Herbert Xu
On Sun, Jun 01, 2014 at 06:56:41PM +0200, Marek Vasut wrote: > On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: > > This patch moves data allocated using kzalloc to managed data allocated > > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > > functions.

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-20 Thread Herbert Xu
On Sun, Jun 01, 2014 at 06:56:41PM +0200, Marek Vasut wrote: On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also,

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-01 Thread Marek Vasut
On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions. Also, linux/device.h is added to make sure the devm_*() > routine

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-01 Thread Marek Vasut
On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine

[PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-05-27 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. Earlier, in the probe function

[PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-05-27 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. Earlier, in the probe function