[PATCH] r128_state.c: break missing in switch statement
authorDave Airlie <airlied@linux.ie>
Sat, 16 Apr 2005 22:24:04 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:04 +0000 (15:24 -0700)
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 <hjlipp@web.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/drm/r128_state.c

index 38b3cbd0bbba40dcab14c487c109b3598966e0ed..53af69162829fd3114b9cf6e206b4dbbcf5cbe3c 100644 (file)
@@ -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();