[PATCH] staging: sm750fb: replace kzalloc with devm_kzalloc

Dan Carpenter dan.carpenter at oracle.com
Wed May 27 07:28:54 UTC 2015


On Wed, May 27, 2015 at 11:10:34AM +0530, Sudip Mukherjee wrote:
> On Tue, May 26, 2015 at 10:04:44AM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> > replace kzalloc with devm_kzalloc thereby removing the corresponding
> > kfree.
> your patch is corrupt and can not be applied.
> But even then, can this be called as code improvement?

It applies fine here.  This seems like a nice patch.

regards,
dan carpenter



More information about the devel mailing list