From: Dave Airlie Date: Sat, 16 Apr 2005 22:24:04 +0000 (-0700) Subject: [PATCH] r128_state.c: break missing in switch statement X-Git-Tag: v2.6.12-rc3~231 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41aac24f8fb5a21ff3d0f6f56f85fad3cf0e88a9;p=linux-2.6 [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: Hansjoerg Lipp Signed-off-by: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/drm/r128_state.c b/drivers/char/drm/r128_state.c index 38b3cbd0bb..53af691628 100644 --- a/drivers/char/drm/r128_state.c +++ b/drivers/char/drm/r128_state.c @@ -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();