summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/rs600d.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-11-21 19:49:46 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-22 00:58:36 +0400
commit432f3342e0fc4d5601b2168fe251f9219bdc97d3 (patch)
tree4283c5f2bfc1737ad4c3a6dd913f5fe1a83cd370 /drivers/gpu/drm/radeon/rs600d.h
parent3458122e27fd381411e0cd4c45c28816fcffbe20 (diff)
downloadlinux-432f3342e0fc4d5601b2168fe251f9219bdc97d3.tar.xz
i915, debugfs: Fix uninitialized warning
gcc complains that: drivers/gpu/drm/i915/i915_debugfs.c: In function ‘display_crc_ctl_write’: drivers/gpu/drm/i915/i915_debugfs.c:2393:2: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/i915/i915_debugfs.c:2350:6: note: ‘val’ was declared here but it can't see that we're going to use val only in the success case. So shut it up. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: David Airlie <airlied@linux.ie> Cc: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/radeon/rs600d.h')
0 files changed, 0 insertions, 0 deletions