Re: [PATCH 1/2] stm32mp1: spl: Fix compilation warnings

2024-06-14 Thread Patrice CHOTARD
On 6/14/24 09:59, Patrick DELAUNAY wrote: > Hi Patrice, > > On 6/11/24 11:52, Patrice Chotard wrote: >> Fix the following compilation warnings : >> >> ../arch/arm/mach-stm32mp/stm32mp1/spl.c: In function >> 'stm32_init_tzc_for_optee': >> ../arch/arm/mach-stm32mp/stm32mp1/spl.c:148:37:

Re: [PATCH 1/2] stm32mp1: spl: Fix compilation warnings

2024-06-14 Thread Patrick DELAUNAY
Hi Patrice, On 6/11/24 11:52, Patrice Chotard wrote: Fix the following compilation warnings : ../arch/arm/mach-stm32mp/stm32mp1/spl.c: In function 'stm32_init_tzc_for_optee': ../arch/arm/mach-stm32mp/stm32mp1/spl.c:148:37: warning: 'optee_size' may be used uninitialized

[PATCH 1/2] stm32mp1: spl: Fix compilation warnings

2024-06-11 Thread Patrice Chotard
Fix the following compilation warnings : ../arch/arm/mach-stm32mp/stm32mp1/spl.c: In function 'stm32_init_tzc_for_optee': ../arch/arm/mach-stm32mp/stm32mp1/spl.c:148:37: warning: 'optee_size' may be used uninitialized [-Wmaybe-uninitialized] 148 | tee_shmem_base = optee_base +