Messages in this thread | | | Date | Mon, 29 Aug 2022 08:13:46 +0300 | From | Mika Westerberg <> | 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@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.
| |