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-07-06 10:38:03 -06:00
2021-11-09 17:18:23 +05:30
2021-09-30 08:08:56 -04:00
2021-08-05 19:46:35 -04:00
2021-08-31 17:47:49 -04:00
2021-08-22 11:04:52 +02:00
2021-03-22 19:23:27 +13:00
2021-07-06 10:38:03 -06:00
2021-10-20 10:59:09 +08:00
2021-11-23 13:53:03 -05:00
2021-12-02 09:15:43 -07:00
2021-09-25 09:46:15 -06:00
2021-11-17 17:05:00 -05:00
2021-12-01 10:58:10 -05: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-12 16:48:38 -04:00
2021-11-29 12:00:57 -05:00
2021-09-30 08:08:56 -04:00
2021-11-10 17:03:36 +01:00
2021-07-06 10:38:03 -06:00
2021-10-21 07:52:15 -04:00
2021-08-30 14:13:28 -04:00
2021-10-31 08:46:44 -04:00
2021-07-06 10:38:03 -06:00
2021-07-06 10:38:03 -06:00
2021-09-27 21:38:34 -04:00
2021-10-20 14:24:09 -04:00
2021-11-30 16:43:28 +01:00
2021-11-05 11:26:29 -04:00
2021-07-06 10:38:03 -06:00
2021-12-02 08:34:01 +02:00
2021-11-18 20:18:34 -05:00
2021-09-25 09:46:15 -06:00
2021-11-17 17:09:47 -05:00
2021-07-06 10:38:03 -06:00
2021-11-17 17:09:47 -05:00
2021-11-30 11:20:34 +01:00
2021-11-23 13:53:03 -05:00
2021-11-09 11:57:22 +09:00
2021-11-09 17:18:23 +05:30
2021-11-30 16:43:28 +01:00
2021-10-05 08:50:15 -04:00
2021-10-05 08:50:15 -04:00
2021-11-23 13:53:03 -05:00
2021-08-31 17:47:49 -04:00
2021-11-11 19:02:44 -05:00
2021-09-04 12:26:02 -04:00
2021-11-09 17:18:23 +05:30
2021-07-06 10:38:03 -06:00
2021-08-26 08:08:11 +02:00
2021-07-06 10:38:03 -06:00
2021-11-16 09:51:04 -05:00
2021-10-31 08:46:44 -04:00
2021-07-20 23:33:54 +02:00
2021-11-04 08:57:19 +01:00
2021-11-23 13:53:03 -05:00
2021-09-30 09:08:16 -04:00
2021-10-12 12:01:00 -04:00
2021-11-17 13:47:36 +02:00
2021-07-06 10:38:03 -06:00
2021-11-17 17:09:47 -05:00
2021-11-30 16:43:28 +01:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00
2021-07-06 10:38:03 -06:00
2021-11-13 08:16:52 -07:00
2021-09-30 08:08:56 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00