[lkml]   [2005]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH][2/3] pwc-uncompress cleanup - add missing default switch case.
This patch adds a missing default: case to the switch statement in 
This change fixes the following compiler warning:
drivers/usb/media/pwc/pwc-uncompress.c: In function `pwc_decompress':
drivers/usb/media/pwc/pwc-uncompress.c:140: warning: unreachable code at beginning of switch statement
and has the added bennefit of making the switch statement function the way
it's supposed to.

This patch is incremental on top of the previous [PATCH][1/3]

Signed-off-by: Jesper Juhl <>

drivers/usb/media/pwc/pwc-uncompress.c | 1 +
1 files changed, 1 insertion(+)

--- linux-2.6.12/drivers/usb/media/pwc/pwc-uncompress.c.with_patch_1 2005-06-20 22:54:15.000000000 +0200
+++ linux-2.6.12/drivers/usb/media/pwc/pwc-uncompress.c 2005-06-20 22:54:42.000000000 +0200
@@ -137,6 +137,7 @@ int pwc_decompress(struct pwc_device *pd
case 646:
/* TODO & FIXME */
+ default:
/* No such device or address: missing decompressor */
return -ENXIO;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-20 23:21    [W:0.034 / U:28.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site