On Nov 3, 2011, at 7:16 AM, David Laight <david.lai...@aculab.com> wrote:
> Arithmetic on 'void *' should not be done. I know some versions of > gcc allow it (provided some warning level/option is enabled) but > that doesn't mean it is valid. > My suspicions are that is was allowed due to the way 'void *' > was originally bodged into gcc. Well, I don't know what else to say. Arithmetic on void* is done all over the kernel. You're a little late to the party if you're going to advocate its avoidance. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev