[PATCH] imx: scu_api: Remove unnecessary NULL check
Fabio Estevam
festevam at gmail.com
Fri Aug 8 14:56:01 CEST 2025
On Mon, Jul 28, 2025 at 1:42 PM Andrew Goodbody
<andrew.goodbody at linaro.org> wrote:
>
> In sc_seco_secvio_dgo_config there is a check for data being NULL but
> this occurs after data has already been dereferenced. All callers of the
> function provide a valid pointer for data so no need for the NULL check.
>
> This issue was found by Smatch.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
Applied, thanks.
More information about the U-Boot
mailing list