[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YwxLCtMCncW3j7iE@black.fi.intel.com>
Date: Mon, 29 Aug 2022 08:13:46 +0300
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Li Zhong <floridsleeves@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
rafael@...nel.org, lenb@...nel.org, mario.limonciello@....com,
hdegoede@...hat.com, Shyam-sundar.S-k@....com, nakato@...ato.io
Subject: Re: [PATCH v1] drivers/acpi/x86: check return null pointer from
acpi_evaluate_dsm()
Hi,
On Sun, Aug 28, 2022 at 01:51:20PM -0700, Li Zhong wrote:
> From: lily <floridsleeves@...il.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.
Powered by blists - more mailing lists