From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Li Zhong <floridsleeves@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
rafael@kernel.org, lenb@kernel.org, mario.limonciello@amd.com,
hdegoede@redhat.com, Shyam-sundar.S-k@amd.com, nakato@nakato.io
Subject: Re: [PATCH v1] drivers/acpi/x86: check return null pointer from acpi_evaluate_dsm()
Date: Mon, 29 Aug 2022 08:13:46 +0300 [thread overview]
Message-ID: <YwxLCtMCncW3j7iE@black.fi.intel.com> (raw)
In-Reply-To: <20220828205120.1956222-1-floridsleeves@gmail.com>
Hi,
On Sun, Aug 28, 2022 at 01:51:20PM -0700, Li Zhong wrote:
> From: lily <floridsleeves@gmail.com>
>
> Check return value from acpi_evaluate_dsm(). Only do ACPI_FREE() when
> out_obj is not NULL pointers.
ACPI_FREE() expands to kfree() and that allows NULL pointers so I don't
think this patch is necessary.
prev parent reply other threads:[~2022-08-29 5:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-28 20:51 [PATCH v1] drivers/acpi/x86: check return null pointer from acpi_evaluate_dsm() Li Zhong
2022-08-29 5:13 ` Mika Westerberg [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=YwxLCtMCncW3j7iE@black.fi.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=floridsleeves@gmail.com \
--cc=hdegoede@redhat.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=nakato@nakato.io \
--cc=rafael@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