Re: [PATCH 11/16] board: stm32mp1: check env_get result in board_late_init

2020-04-01 Thread Wolfgang Denk
Dear Patrick Delaunay, In message <20200331180330.11.Ic051e25812481db408f2431c7962da1db1f198fb@changeid> you wrote: > This patch avoids crash in strcmp when the boot_device is not > present in environment (this case should be never occur) > > Signed-off-by: Patrick Delaunay > --- > >

Re: [Uboot-stm32] [PATCH 11/16] board: stm32mp1: check env_get result in board_late_init

2020-04-01 Thread Patrice CHOTARD
Hi Patrick On 3/31/20 6:04 PM, Patrick Delaunay wrote: > This patch avoids crash in strcmp when the boot_device is not > present in environment (this case should be never occur) > > Signed-off-by: Patrick Delaunay > --- > > board/st/stm32mp1/stm32mp1.c | 3 ++- > 1 file changed, 2

[PATCH 11/16] board: stm32mp1: check env_get result in board_late_init

2020-03-31 Thread Patrick Delaunay
This patch avoids crash in strcmp when the boot_device is not present in environment (this case should be never occur) Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/st/stm32mp1/stm32mp1.c