[patch] 2.6.9-rc1-mm3: cdrom/cdu31a.c doesn't compile

From: Adrian Bunk
Date: Sat Sep 04 2004 - 12:58:52 EST


On Fri, Sep 03, 2004 at 01:48:11AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.9-rc1-mm2:
>...
> +cdu31a-replace-schedule_timeout-with-msleep.patch
>...
> Janitorial things
>...

Doesn't compile:

<-- snip -->

...
CC drivers/cdrom/cdu31a.o
drivers/cdrom/cdu31a.c: In function `do_sony_cd_cmd':
drivers/cdrom/cdu31a.c:962: parse error before `:'
drivers/cdrom/cdu31a.c:932: warning: label `retry_cd_operation' defined but not used
make[2]: *** [drivers/cdrom/cdu31a.o] Error 1

<-- snip -->


Trivial fix:


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.9-rc1-mm3-full/drivers/cdrom/cdu31a.c.old 2004-09-04 11:30:21.000000000 +0200
+++ linux-2.6.9-rc1-mm3-full/drivers/cdrom/cdu31a.c 2004-09-04 11:31:08.000000000 +0200
@@ -959,7 +959,7 @@
if (((result_buffer[0] & 0xf0) == 0x20)
&& (num_retries < MAX_CDU31A_RETRIES)) {
num_retries++;
- msleep(100):
+ msleep(100);
goto retry_cd_operation;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/