diff options
author | Nico Huber <nico.huber@secunet.com> | 2019-05-20 14:13:12 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-30 11:51:41 +0000 |
commit | 9a940bf295337153728e69afdbfee8776170b7bb (patch) | |
tree | e5c4f311945396ba39baeaced05aed34b329bfe2 /src/arch/arm64/armv8 | |
parent | 5fb34e87eb94294b37420493d6863983673fa4a0 (diff) |
drivers/i2c/lm96000: Fix integer sign issue
We accidentally converted an `int` return value to an `unsigned`,
making it impossible to check for errors with `< 0`. Fix that by
using an `int` variable.
Change-Id: I5433c27e334bc177913e138df83118b128c674b7
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35474
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/arch/arm64/armv8')
0 files changed, 0 insertions, 0 deletions