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 Mark variables __diagused.



details:   https://anonhg.NetBSD.org/src/rev/8acb27130737
branches:  trunk
changeset: 329696:8acb27130737
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 04 13:52:52 2014 +0000

description:
Mark variables __diagused.

diffstat:

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

diffs (21 lines):

diff -r 139982d4e211 -r 8acb27130737 sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c       Wed Jun 04 10:27:26 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c       Wed Jun 04 13:52:52 2014 +0000
@@ -714,7 +714,7 @@
        int ret, tmp_width;
        struct overlay_registers __iomem *regs;
        bool scale_changed = false;
-       struct drm_device *dev = overlay->dev;
+       struct drm_device *dev __diagused = overlay->dev;
        u32 swidth, swidthsw, sheight, ostride;
 
        BUG_ON(!mutex_is_locked(&dev->struct_mutex));
@@ -819,7 +819,7 @@
 int intel_overlay_switch_off(struct intel_overlay *overlay)
 {
        struct overlay_registers __iomem *regs;
-       struct drm_device *dev = overlay->dev;
+       struct drm_device *dev __diagused = overlay->dev;
        int ret;
 
        BUG_ON(!mutex_is_locked(&dev->struct_mutex));



Home | Main Index | Thread Index | Old Index