1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

event: Correct duplicate log message in event_notify()

Use a different one for each call.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-01-17 10:47:31 -07:00
committed by Tom Rini
parent 7f33194132
commit 19efd43b0f

View File

@@ -123,7 +123,7 @@ int event_notify(enum event_t type, void *data, int size)
ret = notify_static(&event);
if (ret)
return log_msg_ret("dyn", ret);
return log_msg_ret("sta", ret);
if (CONFIG_IS_ENABLED(EVENT_DYNAMIC)) {
ret = notify_dynamic(&event);