
30 Mar
2023
30 Mar
'23
1:28 p.m.
Hi,
On 3/24/23 08:55, Rasmus Villemoes wrote:
In all these cases, the index on the LHS is immediately afterwards used to access the array appearing in the ARRAY_SIZE() on the RHS - so if that index is equal to the array size, we'll access one-past-the-end of the array.
Signed-off-by: Rasmus Villemoes rasmus.villemoes@prevas.dk
Patch generated with '-U5' to make that access obvious from the diff context.
arch/arm/mach-stm32mp/cpu.c | 4 ++-- board/st/stm32mp1/stm32mp1.c | 2 +- drivers/ram/stm32mp1/stm32mp1_interactive.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Thanks Patrick