lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] [Request for inclusion] Filesystem in Userspace
    Date
    From

    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/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:3.325 / U:0.720 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site