Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc
From: Himangi Saraogi Date: Wed, 28 May 2014 19:53:09 +0530 > 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. > > The following Coccinelle semantic patch was used for making the change: ... > Signed-off-by: Himangi Saraogi > Compile-Tested-by: Thadeu Lima de Souza Cascardo > --- > v3: add space in linux/device.h include Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc
From: Himangi Saraogi himangi...@gmail.com Date: Wed, 28 May 2014 19:53:09 +0530 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. The following Coccinelle semantic patch was used for making the change: ... Signed-off-by: Himangi Saraogi himangi...@gmail.com Compile-Tested-by: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com --- v3: add space in linux/device.h include Applied to net-next, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/