提交 9c84ba4e 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 09a81269
......@@ -78,7 +78,7 @@ i915_pipestat(int pipe)
return PIPEASTAT;
if (pipe == 1)
return PIPEBSTAT;
BUG_ON(1);
BUG();
}
void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册