1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-10 00:16:19 +01:00
Files
u-boot-megous/drivers
Alexander Preißner fe67ba7418 drivers: core: lists: fix for loop index type
* 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>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2021-12-02 09:15:43 -07:00
..
2021-11-23 13:53:03 -05:00
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2021-11-07 18:36:56 +01:00
2021-09-27 21:38:34 -04:00
2021-10-31 08:46:44 -04:00
2021-12-02 08:34:01 +02:00
2021-11-18 20:18:34 -05:00
2021-11-09 11:57:22 +09:00
2021-11-23 13:53:03 -05:00
2021-09-04 12:26:02 -04:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00