Messages in this thread | | | Subject | Re: [PATCH] [Request for inclusion] Filesystem in Userspace | Date | Tue, 16 Nov 2004 15:18:20 +0000 | From | Ralph Corderoy <> |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |