All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Namjae Jeon" <namjae.jeon@samsung.com>
To: "'Muhammad Usama Anjum'" <musamaanjum@gmail.com>
Cc: "'Sergey Senozhatsky'" <sergey.senozhatsky@gmail.com>,
	"'Steve French'" <sfrench@samba.org>,
	"'Hyunchul Lee'" <hyc.lee@gmail.com>,
	"'open list:COMMON INTERNET FILE SYSTEM SERVER \(CIFSD\)'" 
	<linux-cifs@vger.kernel.org>,
	"'open list:COMMON INTERNET FILE SYSTEM SERVER \(CIFSD\)'" 
	<linux-cifsd-devel@lists.sourceforge.net>,
	"'open list'" <linux-kernel@vger.kernel.org>,
	<kernel-janitors@vger.kernel.org>, <colin.king@canonical.com>,
	<dan.carpenter@oracle.com>
Subject: RE: [PATCH] cifsd: use kfree to free memory allocated by kmalloc or kzalloc
Date: Thu, 1 Apr 2021 18:18:17 +0900	[thread overview]
Message-ID: <004601d726d7$f3798310$da6c8930$@samsung.com> (raw)
In-Reply-To: <20210401090850.GA2779473@LEGION>

> 
> kfree should be used to free memory allocated by kmalloc or kzalloc to avoid any overhead and for
> maintaining consistency.
> 
> Fixes: 5dfeb6d945 ("cifsd: use kmalloc() for small allocations")
> Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Looks good. I will apply. Thanks for your patch!


      reply	other threads:[~2021-04-01  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20210401090901epcas1p49be3384fda4e000a6e9f40af63833f3a@epcas1p4.samsung.com>
2021-04-01  9:08 ` [PATCH] cifsd: use kfree to free memory allocated by kmalloc or kzalloc Muhammad Usama Anjum
2021-04-01  9:18   ` Namjae Jeon [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='004601d726d7$f3798310$da6c8930$@samsung.com' \
    --to=namjae.jeon@samsung.com \
    --cc=colin.king@canonical.com \
    --cc=dan.carpenter@oracle.com \
    --cc=hyc.lee@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-cifsd-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=musamaanjum@gmail.com \
    --cc=sergey.senozhatsky@gmail.com \
    --cc=sfrench@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.