The branch main has been updated by dumbbell:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=621f43ffe2eb4e2565663f14f8027467b1a8146e

commit 621f43ffe2eb4e2565663f14f8027467b1a8146e
Author:     Jean-Sébastien Pédron <dumbb...@freebsd.org>
AuthorDate: 2025-06-20 16:56:17 +0000
Commit:     Jean-Sébastien Pédron <dumbb...@freebsd.org>
CommitDate: 2025-08-09 12:26:24 +0000

    linuxkpi: Declare several log message prefixes
    
    The amdgpu DRM driver started to use `HW_ERR` in Linux 6.9.
    
    Reviewed by:    emaste, manu
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D50990
---
 sys/compat/linuxkpi/common/include/linux/printk.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/printk.h 
b/sys/compat/linuxkpi/common/include/linux/printk.h
index da9d45122d4d..d2d197682782 100644
--- a/sys/compat/linuxkpi/common/include/linux/printk.h
+++ b/sys/compat/linuxkpi/common/include/linux/printk.h
@@ -94,4 +94,10 @@ print_hex_dump_bytes(const char *prefix_str, const int 
prefix_type,
        0;                                                      \
 })
 
+#define        FW_BUG          "[Firmware Bug]: "
+#define        FW_WARN         "[Firmware Warn]: "
+#define        FW_INFO         "[Firmware Info]: "
+#define        HW_ERR          "[Hardware Error]: "
+#define        DEPRECATED      "[Deprecated]: "
+
 #endif                                 /* _LINUXKPI_LINUX_PRINTK_H_ */

Reply via email to