[PATCH] staging: sm750fb: replace kzalloc with devm_kzalloc
Gujulan Elango, Hari Prasath (H.)
hgujulan at visteon.com
Wed May 27 05:56:27 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?
>
> regards
> sudip
> >
> > Signed-off-by: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
> > ---
May i know whats wrong with the patch ? I am able to apply it without
any issue.Yes I agree this is a trivial patch.The memory cleanup is
simpler.I have seen some patches in the past like this.
More information about the devel
mailing list