Messages in this thread Patch in this message | | | Date | Wed, 29 Dec 2004 09:19:58 +0100 | From | Norbert Tretkowski <> | Subject | Patch: 2.6.10 - CMSPAR in mxser.c undeclared |
| |
{standard input}: Assembler messages: {standard input}:5: Warning: setting incorrect section attributes for .got drivers/char/mxser.c: In function `mxser_ioctl_special': drivers/char/mxser.c:1564: error: `CMSPAR' undeclared (first use in this function) drivers/char/mxser.c:1564: error: (Each undeclared identifier is reported only once drivers/char/mxser.c:1564: error: for each function it appears in.) make[4]: *** [drivers/char/mxser.o] Error 1 make[3]: *** [drivers/char] Error 2 make[2]: *** [drivers] Error 2
--- drivers/char/mxser.c~ 2004-12-24 22:35:14.000000000 +0100 +++ drivers/char/mxser.c 2004-12-29 09:08:59.000000000 +0100 @@ -1561,6 +1561,10 @@
mon_data_ext.stopbits[i] = cflag & CSTOPB;
+#ifndef CMSPAR +#define CMSPAR 010000000000 +#endif + mon_data_ext.parity[i] = cflag & (PARENB | PARODD | CMSPAR);
mon_data_ext.flowctrl[i] = 0x00; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |