mirror of
https://xff.cz/git/u-boot/
synced 2025-09-09 12:42:08 +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:
@@ -123,7 +123,7 @@ int event_notify(enum event_t type, void *data, int size)
|
|||||||
|
|
||||||
ret = notify_static(&event);
|
ret = notify_static(&event);
|
||||||
if (ret)
|
if (ret)
|
||||||
return log_msg_ret("dyn", ret);
|
return log_msg_ret("sta", ret);
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(EVENT_DYNAMIC)) {
|
if (CONFIG_IS_ENABLED(EVENT_DYNAMIC)) {
|
||||||
ret = notify_dynamic(&event);
|
ret = notify_dynamic(&event);
|
||||||
|
Reference in New Issue
Block a user