Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/external/bsd/drm2/dist/drm/i915 Apply patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/8f4609b3d7ab
branches:  netbsd-9
changeset: 368776:8f4609b3d7ab
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 03 15:47:48 2022 +0000

description:
Apply patch, requested by riastradh in ticket #1491:

        sys/external/bsd/drm2/dist/drm/i915/i915_drv.h          (apply patch)

Fix newlines in i915 console messages

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r e213a52041d8 -r 8f4609b3d7ab sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h    Wed Aug 03 15:44:24 2022 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h    Wed Aug 03 15:47:48 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_drv.h,v 1.29.2.2 2021/06/21 16:41:02 martin Exp $ */
+/*     $NetBSD: i915_drv.h,v 1.29.2.3 2022/08/03 15:47:48 martin Exp $ */
 
 /* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
  */
@@ -84,11 +84,11 @@
                BUILD_BUG_ON(__i915_warn_cond); \
        WARN(__i915_warn_cond, "WARN_ON(" #x ")"); })
 #else
-#define WARN_ON(x) WARN((x), "WARN_ON(%s)", #x )
+#define WARN_ON(x) WARN((x), "WARN_ON(%s)\n", #x )
 #endif
 
 #undef WARN_ON_ONCE
-#define WARN_ON_ONCE(x) WARN_ONCE((x), "WARN_ON_ONCE(%s)", #x )
+#define WARN_ON_ONCE(x) WARN_ONCE((x), "WARN_ON_ONCE(%s)\n", #x )
 
 #define MISSING_CASE(x) WARN(1, "Missing switch case (%lu) in %s\n", \
                             (long) (x), __func__);



Home | Main Index | Thread Index | Old Index