mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: hansg@kernel.org, Zilin Guan <zilin@seu.edu.cn>
Cc: platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,  Jianhao Xu <jianhao.xu@seu.edu.cn>
Subject: Re: [PATCH v3 1/2] platform/x86/amd: Fix memory leak in wbrf_record()
Date: Thu, 15 Jan 2026 16:27:11 +0200	[thread overview]
Message-ID: <176848723129.21830.12668606788089756281.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20260106091318.747019-1-zilin@seu.edu.cn>

On Tue, 06 Jan 2026 09:13:17 +0000, Zilin Guan wrote:

> The tmp buffer is allocated using kcalloc() but is not freed if
> acpi_evaluate_dsm() fails. This causes a memory leak in the error path.
> 
> Fix this by explicitly freeing the tmp buffer in the error handling
> path of acpi_evaluate_dsm().
> 
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/2] platform/x86/amd: Fix memory leak in wbrf_record()
      commit: 2bf1877b7094c684e1d652cac6912cfbc507ad3e
[2/2] platform/x86/amd: Use scope-based cleanup for wbrf_record()
      (no commit info)

--
 i.


  parent reply	other threads:[~2026-01-15 14:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-06  9:13 Zilin Guan
2026-01-06  9:13 ` [PATCH v3 2/2] platform/x86/amd: Use scope-based cleanup for wbrf_record() Zilin Guan
2026-01-06 11:00 ` [PATCH v3 1/2] platform/x86/amd: Fix memory leak in wbrf_record() Markus Elfring
2026-01-15 14:27 ` Ilpo Järvinen [this message]
2026-01-26 14:30 ` Ilpo Järvinen

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=176848723129.21830.12668606788089756281.b4-ty@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=hansg@kernel.org \
    --cc=jianhao.xu@seu.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=zilin@seu.edu.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

all inboxes | Powered by JetHome®