[lkml]   [2003]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/2][RFC] Add dm-crypt target
    On Tue, Dec 23, 2003 at 05:15:41PM +0000, Joe Thornber wrote:
    > On Tue, Dec 23, 2003 at 06:01:18PM +0100, Christophe Saout wrote:
    > > So how does this look?
    > <snip>
    > > -static struct dm_daemon _kcryptd;
    > > +static struct dm_daemon kcryptd;
    > Please keep the leading underscore, it indicates that it is static
    > data; a convention that is used throughout dm. hch was ok about it
    > last time he noticed it, so he can't really complain now ;)

    ewwww... The programmer knows what is static data without needing a
    leading underscore.

    This practice is wrong for the same reason that Hungarian notation is
    wrong :)


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:59    [W:0.020 / U:30.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site