summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2014-07-28 13:20:58 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-07 11:07:15 +0200
commit57007df74a547c68b3373861aa15efb861af6efc (patch)
tree125ec19f397a0dbcac1dfb0ff6e797c9898f2bee /drivers/gpu/drm/i915/intel_sdvo.c
parent72b79c9b2f1b23ba63d7e215963fb90475286ff1 (diff)
downloadop-kernel-dev-57007df74a547c68b3373861aa15efb861af6efc.zip
op-kernel-dev-57007df74a547c68b3373861aa15efb861af6efc.tar.gz
drm/i915: work around warning in i915_gem_gtt
Gcc warns that addr might be used uninitialized. It may not, but I see why gcc gets confused. Additionally, hiding code with side-effects inside WARN_ON() argument seems uncool, so I moved it outside. Signed-off-by: Pavel Machek <pavel@ucw.cz> [danvet: Add obligatory /* shuts up gcc */ comment.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud