From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: socketcan@hartkopp.net, davem@davemloft.net,
yongjun_wei@trendmicro.com.cn, linux-can@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH] can: gw: use kmem_cache_free() instead of kfree()
Date: Tue, 09 Apr 2013 10:20:39 +0200 [thread overview]
Message-ID: <5163CF57.1090309@pengutronix.de> (raw)
In-Reply-To: <CAPgLHd9eAfwJMJ9P5RqOKNP5kq87y61V7CTw2J--Ld8uHT0RrQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
On 04/09/2013 08:16 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> memory allocated by kmem_cache_alloc() should be freed using
> kmem_cache_free(), not kfree().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.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 |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2013-04-09 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 6:16 [PATCH] can: gw: use kmem_cache_free() instead of kfree() Wei Yongjun
2013-04-09 6:48 ` Oliver Hartkopp
2013-04-09 8:20 ` Marc Kleine-Budde [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-04-09 8:13 pull-request: can 2013-04-09 Marc Kleine-Budde
2013-04-09 8:13 ` [PATCH] can: gw: use kmem_cache_free() instead of kfree() Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5163CF57.1090309@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=davem@davemloft.net \
--cc=linux-can@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=socketcan@hartkopp.net \
--cc=weiyj.lk@gmail.com \
--cc=yongjun_wei@trendmicro.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox