Searched hist:"187 ba5c22ffb5166324e18eab259dc891ffff2d6" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | stpmic1.c | 187ba5c22ffb5166324e18eab259dc891ffff2d6 Thu Apr 30 14:59:27 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> stpmic1: fix missing parentheses in boot-on config
Fix error reported by GCC [1]:
core/drivers/stpmic1.c: In function ‘stpmic1_bo_voltage_unpg’: core/drivers/stpmic1.c:720:24: error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses] if (value & cfg->mask >= cfg->min_value) ~~~~~~~~~~^~~~~~~~~~~~~~~~~
[1] arm-buildroot-linux-uclibcgnueabihf-gcc.br_real (Buildroot 2019.11-git-01409-gab8f872d0e-dirty) 8.3.0
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> [jf: wrap compiler description line] Signed-off-by: Jerome Forissier <jerome@forissier.org>
|