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 Our __always_inline does...



details:   https://anonhg.NetBSD.org/src/rev/b5d10229be9c
branches:  trunk
changeset: 1028501:b5d10229be9c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:11:42 2021 +0000

description:
Our __always_inline doesn't make the function inline.

Avoid compiler warnings about the function being defined but not used


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

diffstat:

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

diffs (18 lines):

diff -r e15e52eba3bc -r b5d10229be9c sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h    Sun Dec 19 11:11:35 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h    Sun Dec 19 11:11:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_drv.h,v 1.37 2021/12/19 11:04:21 riastradh Exp $  */
+/*     $NetBSD: i915_drv.h,v 1.38 2021/12/19 11:11:42 riastradh Exp $  */
 
 /* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
  */
@@ -1484,7 +1484,7 @@
        return info->platform_mask[pi] & BIT(pb);
 }
 
-static __always_inline bool
+static __always_inline inline bool
 IS_SUBPLATFORM(const struct drm_i915_private *i915,
               enum intel_platform p, unsigned int s)
 {



Home | Main Index | Thread Index | Old Index