[PATCH RESEND] mtd: cfi_cmdset_0001: Fix exception handling in cfi_intelext_setup()

Miquel Raynal miquel.raynal at bootlin.com
Tue Mar 18 03:26:52 PDT 2025


Hi,

On 04/03/2025 at 20:21:53 +01, Markus Elfring <Markus.Elfring at web.de> wrote:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Tue, 21 Mar 2023 20:13:51 +0100
>
> The label “setup_err” was used to jump to another pointer check despite of
> the detail in the implementation of the function “cfi_intelext_setup”
> that it was determined already that a corresponding variable contained
> a null pointer because of a failed memory allocation.

Can you please rephrase the commit log? It is super hard to understand.

Thanks,
Miquèl



More information about the linux-mtd mailing list