Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoidinvalid access

From: Brian Norris
Date: Thu Aug 22 2013 - 15:40:03 EST


On Thu, May 30, 2013 at 10:22:12AM +0800, Libo Chen wrote:
>
> mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member.
> So I use devm_kazlloc instead of kazlloc to avoid it.
>
> * Changelog:
> convert to devm_kzalloc
>
> Signed-off-by: Libo chen <libo.chen@xxxxxxxxxx>
> Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

Resolved a conflict and pushed to l2-mtd.git. Thanks!

Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/