[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5163CF57.1090309@pengutronix.de>
Date: Tue, 09 Apr 2013 10:20:39 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Wei Yongjun <weiyj.lk@...il.com>
CC: socketcan@...tkopp.net, davem@...emloft.net,
yongjun_wei@...ndmicro.com.cn, linux-can@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] can: gw: use kmem_cache_free() instead of kfree()
On 04/09/2013 08:16 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> memory allocated by kmem_cache_alloc() should be freed using
> kmem_cache_free(), not kfree().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Thanks for catching this. Applied to can/master.
I've send a pull request to David, along with Oliver's Acked-by and
stable on Cc.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)
Powered by blists - more mailing lists