u-boot@lists.denx.de
> > > Cc: Tom Rini
> > > Subject: [U-Boot] [PATCH] armv8: fsl-layerscape: fix hwconfig and
> > > prefetching
> > >
> > > If CONFIG_HWCONFIG is disabled, hwconfig_subarg_f() will return the
> > > empty
> > > string, ie. not
Am 2019-11-05 11:23, schrieb Priyanka Jain:
-Original Message-
From: U-Boot On Behalf Of Michael Walle
Sent: Tuesday, October 22, 2019 2:07 AM
To: u-boot@lists.denx.de
Cc: Tom Rini
Subject: [U-Boot] [PATCH] armv8: fsl-layerscape: fix hwconfig and
prefetching
If CONFIG_HWCONFIG is
>-Original Message-
>From: U-Boot On Behalf Of Michael Walle
>Sent: Tuesday, October 22, 2019 2:07 AM
>To: u-boot@lists.denx.de
>Cc: Tom Rini
>Subject: [U-Boot] [PATCH] armv8: fsl-layerscape: fix hwconfig and prefetching
>
>If CONFIG_HWCONFIG is disabled,
If CONFIG_HWCONFIG is disabled, hwconfig_subarg_f() will return the
empty string, ie. not NULL. Therefore, we have to check the returned
argument length as well as the return value.
Signed-off-by: Michael Walle
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1
4 matches
Mail list logo