Re: 2.6.1-mm3

From: Thomas Schlichter
Date: Wed Jan 14 2004 - 14:14:57 EST


Hi,

the patch "serial-02-fixups.patch" introduced following compile error:

CC [M] drivers/char/cyclades.o
drivers/char/cyclades.c: In function `cy_tiocmset':
drivers/char/cyclades.c:3719: error: `value' undeclared (first use in this
function)
drivers/char/cyclades.c:3719: error: (Each undeclared identifier is reported
only once
drivers/char/cyclades.c:3719: error: for each function it appears in.)
drivers/char/cyclades.c:3719: Warnung: unused variable `arg'

The attached patch fixes it...

Thomas Schlichter
--- linux-2.6.1-mm3/drivers/char/cyclades.c.orig 2004-01-14 18:54:24.716650688 +0100
+++ linux-2.6.1-mm3/drivers/char/cyclades.c 2004-01-14 18:54:30.076835816 +0100
@@ -3716,7 +3716,6 @@
int card,chip,channel,index;
unsigned char *base_addr;
unsigned long flags;
- unsigned int arg = cy_get_user((unsigned long *) value);
struct FIRM_ID *firm_id;
struct ZFW_CTRL *zfw_ctrl;
struct BOARD_CTRL *board_ctrl;

Attachment: pgp00000.pgp
Description: signature