diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-02-25 13:56:43 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-26 11:19:14 +0000 |
commit | 7bbed26ca931226e507ba496e64cae6692d15607 (patch) | |
tree | 1770d56c9df07556fc17c5e9faf435d4658317aa /Documentation | |
parent | 967edec25463fada1634e8ccee0e847ae49141e2 (diff) |
ec/google/chromeec: Clarify return value of google_chromeec_command
This patch clarifies the definition of google_chromeec_command.
Currently absence of the definition isn't causing any problem because
wrapper APIs check 'ret != 0' or wrapper APIs check 'ret < 0' for an
interface which returns only negative error codes.
However, there is a chance that a new wrapper API will be addedl which
check 'ret < 0' to catch errors, assuming other interfaces behave the same.
Or existing wrapper APIs will be broken as soon as they're compiled for
another interface.
BUG=chromium:935038
TEST=none
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I2ce7109b5f2a1d5294f167719730bc1f039ba03f
Reviewed-on: https://review.coreboot.org/c/31613
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions