public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Keith Busch <kbusch@kernel.org>
To: Israel Rukshin <israelr@nvidia.com>
Cc: Linux-nvme <linux-nvme@lists.infradead.org>,
	Sagi Grimberg <sagi@grimberg.me>, Christoph Hellwig <hch@lst.de>,
	Jens Axboe <axboe@fb.com>, Nitzan Carmi <nitzanc@nvidia.com>,
	Max Gurtovoy <mgurtovoy@nvidia.com>
Subject: Re: [PATCH] nvme-auth: Use kvfree() for memory allocated with kvcalloc()
Date: Mon, 24 Nov 2025 12:35:14 -0700	[thread overview]
Message-ID: <aSSzcj1aMkBzv4Bp@kbusch-mbp> (raw)
In-Reply-To: <1763909208-11611-1-git-send-email-israelr@nvidia.com>

On Sun, Nov 23, 2025 at 04:46:48PM +0200, Israel Rukshin wrote:
> Memory allocated by kvcalloc() may come from vmalloc or kmalloc,
> so use kvfree() instead of kfree() for proper deallocation.

Thanks, applied to nvme-6.19.


  parent reply	other threads:[~2025-11-24 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-23 14:46 [PATCH] nvme-auth: Use kvfree() for memory allocated with kvcalloc() Israel Rukshin
2025-11-24  6:23 ` Christoph Hellwig
2025-11-24 19:35 ` Keith Busch [this message]
2025-11-30 22:53 ` Sagi Grimberg

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=aSSzcj1aMkBzv4Bp@kbusch-mbp \
    --to=kbusch@kernel.org \
    --cc=axboe@fb.com \
    --cc=hch@lst.de \
    --cc=israelr@nvidia.com \
    --cc=linux-nvme@lists.infradead.org \
    --cc=mgurtovoy@nvidia.com \
    --cc=nitzanc@nvidia.com \
    --cc=sagi@grimberg.me \
    /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