From: Simon Glass Date: Tue, 17 Jan 2023 17:47:31 +0000 (-0700) Subject: event: Correct duplicate log message in event_notify() X-Git-Tag: baikal/mips/sdk5.8.2~5^2~79^2~49 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=850048f8a31ee403812ccb78c24477588a55118a;p=uboot.git event: Correct duplicate log message in event_notify() Use a different one for each call. Signed-off-by: Simon Glass --- diff --git a/common/event.c b/common/event.c index 231b9e6ffd..c312556490 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);