]> git.baikalelectronics.ru Git - uboot.git/commit
common: avb_verify: Fix invalid 'for' loop condition
authorEugeniu Rosca <roscaeugeniu@gmail.com>
Tue, 14 Aug 2018 00:43:04 +0000 (02:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Aug 2018 17:19:53 +0000 (13:19 -0400)
commitdba4b5e77abd93a7f802a98058800e3883e5acfb
tree0ad42f4ec7c2b6bff885095dd899fd5c13b098f1
parent527814adbec506222b057b28d8d4682bb3e85e7b
common: avb_verify: Fix invalid 'for' loop condition

Fix below compiler [1] warning:

common/avb_verify.c: In function ‘avb_find_dm_args’:
common/avb_verify.c:179:30: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  for (i = 0; i < AVB_MAX_ARGS, args[i]; ++i) {

[1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
common/avb_verify.c