]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: cros_ec: Update error handling when reading matrix
authorSimon Glass <sjg@chromium.org>
Fri, 14 May 2021 01:39:26 +0000 (19:39 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 15 Jul 2021 22:42:05 +0000 (18:42 -0400)
commit15dd815c75d8d88816231e5e52b03835210cc93e
tree96fd4cd5cffaa7320573842ea4711a6347166907
parent9dec2c1f03922977725d14ebc89fdc05b1f32511
sandbox: cros_ec: Update error handling when reading matrix

At present the return value of ofnode_get_property() is not checked, which
causes a coverity warning. While we are here, use logging for the errors.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 331157)
drivers/misc/cros_ec_sandbox.c