diff options
author | Pavel Machek <pavel@ucw.cz> | 2014-07-28 13:20:58 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-07 11:07:15 +0200 |
commit | 57007df74a547c68b3373861aa15efb861af6efc (patch) | |
tree | 125ec19f397a0dbcac1dfb0ff6e797c9898f2bee /drivers/gpu/drm/i915/intel_sdvo.c | |
parent | 72b79c9b2f1b23ba63d7e215963fb90475286ff1 (diff) | |
download | op-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