
2 Dec
2021
2 Dec
'21
10:18 p.m.
On Sat, 6 Nov 2021 at 09:11, fpga-garage@preissner-muc.de wrote:
From: Alexander Preißner fpga-garage@preissner-muc.de
- fixes the bug in function bind_drivers_pass that for
CONFIG_CC_OPTIMIZE_FOR_SIZE=n and no entries in the driver_info list, i.e. n_ents == 0, the processor steps into the first loop iteration despite the loop condition being false.
- the Xilinx Zynq-7000 device would eventually hang due to an attempted
access to an invalid memory address
- the bug is fixed by changing the type of idx from uint to int
Board: zynq-zybo Target: ARM Compiler: arm-none-eabi-gcc 9.2.1
Signed-off-by: Alexander Preissner fpga-garage@preissner-muc.de
drivers/core/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm/next, thanks!