printk: Fix pr_emerg to use log_emer
The pr_emerg macro was calling log_emerg which doesn't exist. The correct function name is log_emer, matching the LOGL_EMERG log level. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
#define pr_emerg(fmt, ...) \
|
||||
({ \
|
||||
CONFIG_LOGLEVEL > 0 ? log_emerg(fmt, ##__VA_ARGS__) : 0; \
|
||||
CONFIG_LOGLEVEL > 0 ? log_emer(fmt, ##__VA_ARGS__) : 0; \
|
||||
})
|
||||
#define pr_alert(fmt, ...) \
|
||||
({ \
|
||||
|
||||
Reference in New Issue
Block a user