[PATCH 00/17] Fix various coverity warnings
Simon Glass
sjg at chromium.org
Sun May 9 00:00:04 CEST 2021
This series includes fixes for various coverity warnings reported in
recent months.
Unfortunately I am not sure how to fix the clock problems, as the fix
produces test failures, so the last two patches are marked RFC. I hope
that Stephen or Jean-Jacques can take a look.
Simon Glass (17):
sandbox: net: Ensure host name is always a valid string
video: Check return value in pwm_backlight_of_to_plat()
sandbox: Indicate NULL-pointer access in 'sigsegv' command
test: Rename final check in setexpr_test_backref()
tools: Avoid showing return value of clock_gettime()
reset: Avoid a warning in devm_reset_bulk_get_by_node()
reset: Avoid a warning in devm_regmap_init()
test: Avoid random numbers in dm_test_devm_regmap()
dm: core: Check uclass_get() return value when dumping
sandbox: scmi: Indicate dead code for coverity
sandbox: cros_ec: Update error handling when reading matrix
cbfs: Check offset range when reading a file
pinctrl: Avoid coverity warning when checking width
tpm: Check outgoing command size
sandbox: Silence coverity warning in state_read_file()
clk: Detect failure to set defaults
RFC: clk: Return error code from clk_set_default_get_by_id()
arch/sandbox/cpu/state.c | 1 +
cmd/sandbox/exception.c | 2 ++
drivers/clk/clk-uclass.c | 8 ++++++--
drivers/core/dump.c | 7 ++++---
drivers/core/regmap.c | 1 +
drivers/firmware/scmi/sandbox-scmi_devices.c | 1 +
drivers/misc/cros_ec_sandbox.c | 12 +++++++-----
drivers/net/sandbox-raw.c | 2 +-
drivers/pinctrl/pinctrl-single.c | 1 +
drivers/reset/reset-uclass.c | 2 ++
drivers/video/pwm_backlight.c | 6 ++++--
fs/cbfs/cbfs.c | 2 ++
lib/tpm-common.c | 5 +++++
test/cmd/setexpr.c | 2 --
test/dm/clk.c | 9 +++++++++
test/dm/regmap.c | 3 +--
tools/image-host.c | 8 ++++----
17 files changed, 51 insertions(+), 21 deletions(-)
--
2.31.1.607.g51e8a6a459-goog
More information about the U-Boot
mailing list