diff options
author | Tzung-Bi Shih <[email protected]> | 2022-05-13 12:41:38 +0800 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-05-16 10:01:51 +0800 |
commit | 71d3ae7fb6404c87b498f8b7f86b8271dd74989f (patch) | |
tree | 269112af14e973dfa6a424fd8a4bbd02e2b20d81 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 42701e7c0cd2a715def2dafd22f11f25ca0f5024 (diff) |
platform/chrome: correct cros_ec_prepare_tx() usage
cros_ec_prepare_tx() returns either:
- >= 0 for number of prepared bytes.
- < 0 for -errno.
Correct the comment and make sure all callers check the return code.
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions