summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-12-01 13:14:08 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-01 19:55:25 -0800
commit9c84ba4e502184d95ab75128d3166f595ea2dea0 (patch)
tree9f26afecd39a8b8dd2ad2dd74c8295965f0d8a98 /drivers/gpu
parent09a81269c7aadaec3375a7ebd9647acbb72f5a67 (diff)
downloadlinux-9c84ba4e502184d95ab75128d3166f595ea2dea0.tar.gz
linux-9c84ba4e502184d95ab75128d3166f595ea2dea0.tar.bz2
linux-9c84ba4e502184d95ab75128d3166f595ea2dea0.zip
drivers/gpu/drm/i915/i915_irq.c: fix warning
drivers/gpu/drm/i915/i915_irq.c: In function 'i915_disable_pipestat': drivers/gpu/drm/i915/i915_irq.c:101: warning: control may reach end of non-void function 'i915_pipestat' being inlined Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index fe3d9cc72bf5..69b9a42da95e 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -78,7 +78,7 @@ i915_pipestat(int pipe)
return PIPEASTAT;
if (pipe == 1)
return PIPEBSTAT;
- BUG_ON(1);
+ BUG();
}
void