[lkml]   [2001]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.9 does not compile [PATCH]

    "David S. Miller" wrote:

    > That is a legitimate operation, there is no reason to prevent people
    > from comparing signed and unsigned values. These type argument
    > min/max values allow people to specify what the comparison type
    > degenerates into.

    Sure, but if people change something, they get a warning and can think
    _again_, your current macro prevents this. That hardcoded type is just
    to easy to miss and can introduce subtle bugs. The typeof version
    automatically chooses that largest of the types and possibly warns you.
    Why would you want something different?

    bye, Roman
    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:17    [W:0.026 / U:86.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site