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 misnamed parameter.



details:   https://anonhg.NetBSD.org/src/rev/5909fa2fff94
branches:  trunk
changeset: 365856:5909fa2fff94
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:00:52 2018 +0000

description:
Fix misnamed parameter.

diffstat:

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

diffs (18 lines):

diff -r f7f0369b2cea -r 5909fa2fff94 sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.h        Mon Aug 27 07:00:39 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.h        Mon Aug 27 07:00:52 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_gem_gtt.h,v 1.4 2018/08/27 06:08:25 riastradh Exp $       */
+/*     $NetBSD: i915_gem_gtt.h,v 1.5 2018/08/27 07:00:52 riastradh Exp $       */
 
 /*
  * Copyright © 2014 Intel Corporation
@@ -254,7 +254,7 @@
 #define px_base(px) (&(px)->base)
 #define px_page(px) (px_base(px)->page)
 #ifdef __NetBSD__
-#define px_dma(x) (px_base(px)->map->dm_seg[0].ds_addr)
+#define px_dma(px) (px_base(px)->map->dm_seg[0].ds_addr)
 #else
 #define px_dma(px) (px_base(px)->daddr)
 #endif



Home | Main Index | Thread Index | Old Index