mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Switched rockchip64 u-boot to v2021.07 * Switched OrangePi R1 Plus to include mainline's R2S device tree * Added unsingned signed comparison patch from Paolo to fix rk3328 reboots
27 lines
843 B
Diff
27 lines
843 B
Diff
From 3f12642b5947ee63e1e6fe08df558206d1b4daff Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Sat, 3 Apr 2021 19:38:20 +0000
|
|
Subject: [PATCH] Fix signed/unsigned comparison causing massive headache on
|
|
gcc-arm >= 8.0 due to valid images being unable to boot
|
|
|
|
---
|
|
drivers/core/lists.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/core/lists.c b/drivers/core/lists.c
|
|
index e06e4e853d..c355f0752f 100644
|
|
--- a/drivers/core/lists.c
|
|
+++ b/drivers/core/lists.c
|
|
@@ -58,7 +58,7 @@ static int bind_drivers_pass(struct udevice *parent, bool pre_reloc_only)
|
|
const int n_ents = ll_entry_count(struct driver_info, driver_info);
|
|
bool missing_parent = false;
|
|
int result = 0;
|
|
- uint idx;
|
|
+ int idx;
|
|
|
|
/*
|
|
* Do one iteration through the driver_info records. For of-platdata,
|
|
--
|
|
2.25.1
|
|
|