All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] Fix various coverity warnings
@ 2021-05-08 22:00 Simon Glass
  2021-05-08 22:00 ` [PATCH 01/17] sandbox: net: Ensure host name is always a valid string Simon Glass
                   ` (16 more replies)
  0 siblings, 17 replies; 24+ messages in thread
From: Simon Glass @ 2021-05-08 22:00 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2021-05-10 23:28 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 22:00 [PATCH 00/17] Fix various coverity warnings Simon Glass
2021-05-08 22:00 ` [PATCH 01/17] sandbox: net: Ensure host name is always a valid string Simon Glass
2021-05-09  4:14   ` Ramon Fried
2021-05-08 22:00 ` [PATCH 02/17] video: Check return value in pwm_backlight_of_to_plat() Simon Glass
2021-05-08 22:00 ` [PATCH 03/17] sandbox: Indicate NULL-pointer access in 'sigsegv' command Simon Glass
2021-05-10 13:07   ` Tom Rini
2021-05-08 22:00 ` [PATCH 04/17] test: Rename final check in setexpr_test_backref() Simon Glass
2021-05-08 22:00 ` [PATCH 05/17] tools: Avoid showing return value of clock_gettime() Simon Glass
2021-05-08 22:00 ` [PATCH 06/17] reset: Avoid a warning in devm_reset_bulk_get_by_node() Simon Glass
2021-05-08 22:00 ` [PATCH 07/17] reset: Avoid a warning in devm_regmap_init() Simon Glass
2021-05-10  7:29   ` Pratyush Yadav
2021-05-08 22:00 ` [PATCH 08/17] test: Avoid random numbers in dm_test_devm_regmap() Simon Glass
2021-05-08 22:00 ` [PATCH 09/17] dm: core: Check uclass_get() return value when dumping Simon Glass
2021-05-08 22:00 ` [PATCH 10/17] sandbox: scmi: Indicate dead code for coverity Simon Glass
2021-05-08 22:00 ` [PATCH 11/17] sandbox: cros_ec: Update error handling when reading matrix Simon Glass
2021-05-08 22:00 ` [PATCH 12/17] cbfs: Check offset range when reading a file Simon Glass
2021-05-08 22:00 ` [PATCH 13/17] pinctrl: Avoid coverity warning when checking width Simon Glass
2021-05-08 22:00 ` [PATCH 14/17] tpm: Check outgoing command size Simon Glass
2021-05-08 22:00 ` [PATCH 15/17] sandbox: Silence coverity warning in state_read_file() Simon Glass
2021-05-08 22:00 ` [PATCH 16/17] clk: Detect failure to set defaults Simon Glass
2021-05-09  0:40   ` Sean Anderson
2021-05-10 16:28     ` Simon Glass
2021-05-10 23:28       ` Sean Anderson
2021-05-08 22:00 ` [PATCH 17/17] RFC: clk: Return error code from clk_set_default_get_by_id() Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.