From: Simon Glass <simon.glass@canonical.com> 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> --- include/linux/printk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/printk.h b/include/linux/printk.h index e28cef0ac31..edf149f52c7 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -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, ...) \ ({ \ -- 2.43.0