Re: [PATCH] eicon: fix define conflict with ptrace

From: Alexey Dobriyan
Date: Thu Aug 03 2006 - 17:13:58 EST


On Thu, Aug 03, 2006 at 10:09:59PM +0100, Alan Cox wrote:
> Ar Gwe, 2006-08-04 am 00:34 +0400, ysgrifennodd Alexey Dobriyan:
> > * MODE_MASK is unused in eicon driver.
> > * Conflicts with a ptrace stuff on arm.
> >
> > drivers/isdn/hardware/eicon/divasync.h:259:1: warning: "MODE_MASK" redefined
> > include2/asm/ptrace.h:48:1: warning: this is the location of the previous definition

> NAK. You need to fix all the code expecting to use the MODE_MASK with a
> value of 0x00000080

OK, I understood. However, judging by tiny amount of indentation¹ this
define should be used when messing with "Flag" field

unsigned long Flag; /* |31-Type-16|15-Mask-0| */

of struct (typedef, actually) called "isdnProps". Other defines nearby
are unused also. More, "isdnProps" which is typedef holding this field in
turn, is also unused.

¹ Even less than GNU.

-
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/