[lkml]   [2007]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 13/30] net: Don't do pointless kmalloc return value casts in zd1211 driver
    On Thu, 2007-08-30 at 22:20 +0200, Jesper Juhl wrote:
    > Ok, I must admit I didn't check with sparse since it seemed pointless
    > - we usually never cast void pointers to other pointer types,
    > specifically because the C language nicely guarantees that the right
    > thing will happen without the cast. Sometimes we have to cast them to
    > integer types, su sure we need the cast there. But what on earth
    > makes a "zd_addr_t *" so special that we have to explicitly cast a
    > "void *" to that type?

    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: 2007-08-31 00:23    [W:0.018 / U:13.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site