From: Markus Elfring <Markus.Elfring@web.de>
To: "Jianhao Xu" <jianhao.xu@seu.edu.cn>,
"Zilin Guan" <zilin@seu.edu.cn>,
platform-driver-x86@vger.kernel.org,
"Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] platform/x86/amd: Fix memory leak in wbrf_record()
Date: Sat, 3 Jan 2026 14:16:12 +0100 [thread overview]
Message-ID: <9d8affc8-a88c-477b-9ee3-c0ec52e00b0e@web.de> (raw)
In-Reply-To: <20260103122151.157174-1-zilin@seu.edu.cn>
…> +++ b/drivers/platform/x86/amd/wbrf.c
> @@ -39,11 +39,11 @@ static const guid_t wifi_acpi_dsm_guid =
> */
> static BLOCKING_NOTIFIER_HEAD(wbrf_chain_head);
>
> +DEFINE_FREE(acpi_object, union acpi_object *, if (_T) ACPI_FREE(_T))
> +
> static int wbrf_record(struct acpi_device *adev, uint8_t action, struct wbrf_ranges_in_out *in)
> {
…
Is there a need to move such a special macro call into an other source (or header) file?
Regards,
Markus
next prev parent reply other threads:[~2026-01-03 13:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-03 12:21 Zilin Guan
2026-01-03 13:16 ` Markus Elfring [this message]
2026-01-04 5:27 ` Zilin Guan
2026-01-05 13:52 ` Ilpo Järvinen
2026-01-06 9:11 ` Zilin Guan
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=9d8affc8-a88c-477b-9ee3-c0ec52e00b0e@web.de \
--to=markus.elfring@web.de \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--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®