]> git.baikalelectronics.ru Git - uboot.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)
commitbf64e6fc71552f00e056b57a5c23b4dd209c5713
tree96fd4cd5cffaa7320573842ea4711a6347166907
parentd824643bb12f987562d36e794938296035951d4e
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