[v3,1/3] event: Check return value from event_notify_null()
Simon Glass
sjg at chromium.org
Wed Apr 1 22:24:36 CEST 2026
On 2026-04-01T06:03:43, Michal Simek <michal.simek at amd.com> wrote:
> event: Check return value from event_notify_null()
>
> event_notify_null() returns int but its return value is not
> checked in run_main_loop() and in fwu_mdata tests.
> Add proper error checking to all unchecked call sites.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
>
> common/board_r.c | 6 +++++-
> test/dm/fwu_mdata.c | 4 ++--
> 2 files changed, 7 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list