Re: [PATCH] [Request for inclusion] Filesystem in Userspace

From: Ralph Corderoy
Date: Tue Nov 16 2004 - 10:21:33 EST



Hi,

Pekka Enberg wrote:
> No, that is obfuscation and has nothing to do with this. The cast I
> mentioned is _redudant_ because the common case is:
>
> struct foo * f = (struct foo *) priv; /* priv is void pointer */

These casts are also a problem when priv changes type; the compiler is
being told to not complain.

Cheers,


Ralph.

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