[PATCH v2 21/71] event: Correct duplicate log message in event_notify()

Simon Glass sjg at chromium.org
Sun Jan 8 03:49:57 CET 2023


Use a different one for each call.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 common/event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/event.c b/common/event.c
index 231b9e6ffdd..c312556490e 100644
--- a/common/event.c
+++ b/common/event.c
@@ -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);
-- 
2.39.0.314.g84b9a713c41-goog



More information about the U-Boot-Custodians mailing list