提交 41aac24f 编写于 作者: D Dave Airlie 提交者: Linus Torvalds

[PATCH] r128_state.c: break missing in switch statement

drm: fix r128_state.c switch statements..  in drivers/char/drm/r128_state.c
(linux-2.6.12-rc2), some breaks are missing in the switch statement.  See
trivial fix below.
Signed-off-by: NHansjoerg Lipp <hjlipp@web.de>
Signed-off-by: NDave Airlie <airlied@linux.ie>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 388c6978
......@@ -1549,12 +1549,16 @@ static int r128_cce_depth( DRM_IOCTL_ARGS )
switch ( depth.func ) {
case R128_WRITE_SPAN:
ret = r128_cce_dispatch_write_span( dev, &depth );
break;
case R128_WRITE_PIXELS:
ret = r128_cce_dispatch_write_pixels( dev, &depth );
break;
case R128_READ_SPAN:
ret = r128_cce_dispatch_read_span( dev, &depth );
break;
case R128_READ_PIXELS:
ret = r128_cce_dispatch_read_pixels( dev, &depth );
break;
}
COMMIT_RING();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册