mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01: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:
parent
7f33194132
commit
19efd43b0f
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user