From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: target-devel@vger.kernel.org
Subject: Re: [PATCH -next] scsi: target/core: Use kmem_cache_free() instead of kfree()
Date: Wed, 19 Dec 2018 03:53:21 +0000 [thread overview]
Message-ID: <yq17eg6i34e.fsf@oracle.com> (raw)
In-Reply-To: <1545049193-159337-1-git-send-email-weiyongjun1@huawei.com>
Wei,
> memory allocated by kmem_cache_alloc() should be freed using
> kmem_cache_free(), not kfree().
Applied to 4.21/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2018-12-19 3:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 12:19 [PATCH -next] scsi: target/core: Use kmem_cache_free() instead of kfree() Wei Yongjun
2018-12-17 16:16 ` Bart Van Assche
2018-12-19 3:53 ` Martin K. Petersen [this message]
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=yq17eg6i34e.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=target-devel@vger.kernel.org \
/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