Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd drm: Reduce verbosity of drm kernel messages.



details:   https://anonhg.NetBSD.org/src/rev/7ddcf28bcb4d
branches:  trunk
changeset: 368713:7ddcf28bcb4d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Jul 29 23:50:44 2022 +0000

description:
drm: Reduce verbosity of drm kernel messages.

diffstat:

 sys/external/bsd/common/include/linux/printk.h |  18 +++++++++---------
 sys/external/bsd/drm2/include/linux/device.h   |   6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (53 lines):

diff -r ef885ab66f11 -r 7ddcf28bcb4d sys/external/bsd/common/include/linux/printk.h
--- a/sys/external/bsd/common/include/linux/printk.h    Fri Jul 29 20:55:41 2022 +0000
+++ b/sys/external/bsd/common/include/linux/printk.h    Fri Jul 29 23:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printk.h,v 1.12 2021/12/19 12:02:38 riastradh Exp $    */
+/*     $NetBSD: printk.h,v 1.13 2022/07/29 23:50:44 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -48,14 +48,14 @@
 #define        pr_warn_once    printf  /* XXX */
 #define        pr_notice       printf  /* XXX */
 #define        pr_debug        printf  /* XXX */
-#define        KERN_EMERG      "kern emerg: "
-#define        KERN_ALERT      "kern alert: "
-#define        KERN_CRIT       "kern crit: "
-#define        KERN_ERR        "kern error: "
-#define        KERN_WARNING    "kern warning: "
-#define        KERN_NOTICE     "kern notice: "
-#define        KERN_INFO       "kern info: "
-#define        KERN_DEBUG      "kern debug: "
+#define        KERN_EMERG      "emerg: "
+#define        KERN_ALERT      "alert: "
+#define        KERN_CRIT       "crit: "
+#define        KERN_ERR        "error: "
+#define        KERN_WARNING    "warning: "
+#define        KERN_NOTICE     "notice: "
+#define        KERN_INFO       ""
+#define        KERN_DEBUG      "debug: "
 #define        KERN_CONT       ""
 
 #define        printk_ratelimit()      0 /* XXX */
diff -r ef885ab66f11 -r 7ddcf28bcb4d sys/external/bsd/drm2/include/linux/device.h
--- a/sys/external/bsd/drm2/include/linux/device.h      Fri Jul 29 20:55:41 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/device.h      Fri Jul 29 23:50:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: device.h,v 1.16 2022/07/17 14:11:18 riastradh Exp $    */
+/*     $NetBSD: device.h,v 1.17 2022/07/29 23:50:44 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -72,9 +72,9 @@
 
 #define        dev_info(DEV, FMT, ...) do {                                          \
        if (DEV)                                                              \
-               aprint_normal_dev((DEV), "info: " FMT, ##__VA_ARGS__);        \
+               aprint_normal_dev((DEV), FMT, ##__VA_ARGS__);                 \
        else                                                                  \
-               aprint_normal("info: " FMT, ##__VA_ARGS__);                   \
+               aprint_normal(FMT, ##__VA_ARGS__);                            \
 } while (0)
 
 #define        dev_dbg(DEV, FMT, ...)  do {                                          \



Home | Main Index | Thread Index | Old Index