Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Fix mangled local change...



details:   https://anonhg.NetBSD.org/src/rev/38229cd4ef24
branches:  trunk
changeset: 1028520:38229cd4ef24
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:14:16 2021 +0000

description:
Fix mangled local change and close parens.


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

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

diffs (17 lines):

diff -r 1b93f30eef98 -r 38229cd4ef24 sys/external/bsd/drm2/dist/drm/i915/i915_reg.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_reg.h    Sun Dec 19 11:14:06 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_reg.h    Sun Dec 19 11:14:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_reg.h,v 1.16 2021/12/19 09:58:39 riastradh Exp $  */
+/*     $NetBSD: i915_reg.h,v 1.17 2021/12/19 11:14:16 riastradh Exp $  */
 
 /* Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
  * All Rights Reserved.
@@ -272,6 +272,7 @@
        if (__builtin_constant_p(mask) && __builtin_constant_p(value)) {   \
                BUILD_BUG_ON_MSG((value) & ~(mask),                        \
                                 "Incorrect value for mask");              \
+       }                                                                  \
        __MASKED_FIELD(mask, value); })
 #define _MASKED_BIT_ENABLE(a)  ({ typeof(a) _a = (a); _MASKED_FIELD(_a, _a); })
 #define _MASKED_BIT_DISABLE(a) (_MASKED_FIELD((a), 0))



Home | Main Index | Thread Index | Old Index