On Wed, Jul 03, 2024 at 07:40:28PM +0300, Aleksandr Mishin wrote: > acpi_get_first_physical_node() can return NULL in several cases (no such > device, ACPI table error, reference count drop to 0, etc). > Existing check just emit error message, but doesn't perform return. > > Adjust this error handling by adding error code return. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. I am not seeing any analysis here about the correctness of this new error handling.
Attachment:
signature.asc
Description: PGP signature
- References:
- [PATCH] ASoC: amd: Adjust error handling in case of absent codec device
- From: Aleksandr Mishin
- [PATCH] ASoC: amd: Adjust error handling in case of absent codec device
- Prev by Date: [PATCH] ASoC: amd: Adjust error handling in case of absent codec device
- Next by Date: Re: [PATCH 0/2] ASoC: cs35l56: Set correct upper volume limit
- Previous by thread: [PATCH] ASoC: amd: Adjust error handling in case of absent codec device
- Next by thread: [PATCH v2] ASoC: amd: Adjust error handling in case of absent codec device
- Index(es):