summaryrefslogtreecommitdiff
path: root/util/board_status/board_status.sh
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-08-14 21:50:50 -0700
committerFurquan Shaikh <furquan@google.com>2016-08-18 01:07:36 +0200
commite7de6fb162bb9a7c0551027514596d6d7f45421b (patch)
tree099481e2b4a8a0c8a2db1c9859c576c72b539801 /util/board_status/board_status.sh
parent91f6e679ccce9cf90c98608fc2c24aef44db5bf0 (diff)
downloadcoreboot-e7de6fb162bb9a7c0551027514596d6d7f45421b.tar.xz
intel/apollolake: Fix check for return value of pmc_gpe_route_to_gpio
pmc_gpe_route_to_gpio returns -1 on error. However, the value was being stored in unsigned int and compared against -1. Fix this by using local variable ret. Change-Id: I5ec824949d4ee0fbdbb2ffdc9fc9d4762455b27b Reported-by: Coverity ID 1357443, 1357442, 1357441 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/16218 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/board_status/board_status.sh')
0 files changed, 0 insertions, 0 deletions