Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson. Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56702 )
Change subject: soc/amd/common/block/gpio_banks/gpio: use size_t where needed ......................................................................
soc/amd/common/block/gpio_banks/gpio: use size_t where needed
Since the parameter the variable gets compared with is size_t type, use size_t as type for that variable too.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: If82a948bf71079d456616f4438f4b754e0d7262d --- M src/soc/amd/common/block/gpio_banks/gpio.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/56702/1
diff --git a/src/soc/amd/common/block/gpio_banks/gpio.c b/src/soc/amd/common/block/gpio_banks/gpio.c index 08621c0..8f6f195 100644 --- a/src/soc/amd/common/block/gpio_banks/gpio.c +++ b/src/soc/amd/common/block/gpio_banks/gpio.c @@ -18,7 +18,7 @@ static int get_gpio_gevent(gpio_t gpio, const struct soc_amd_event *table, size_t items) { - int i; + size_t i;
for (i = 0; i < items; i++) { if ((table + i)->gpio == gpio)