Skip to content

Commit 9c84ba4

Browse files
akpm00torvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 09a8126 commit 9c84ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ i915_pipestat(int pipe)
7878
return PIPEASTAT;
7979
if (pipe == 1)
8080
return PIPEBSTAT;
81-
BUG_ON(1);
81+
BUG();
8282
}
8383

8484
void

0 commit comments

Comments
 (0)