Skip to content

Commit

Permalink
drivers/gpu/drm/i915/i915_irq.c: fix warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Dec 2, 2008
1 parent 09a8126 commit 9c84ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ i915_pipestat(int pipe)
return PIPEASTAT;
if (pipe == 1)
return PIPEBSTAT;
BUG_ON(1);
BUG();
}

void
Expand Down

0 comments on commit 9c84ba4

Please sign in to comment.