[lkml]   [2007]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ofa-general] Re: [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.
    On Mon, Sep 17, 2007 at 09:09:06AM -0700, Sean Hefty ( wrote:
    > >>>+ addr = kmalloc(sizeof *addr, GFP_KERNEL);
    > >>
    > >>As a small nitpick: this wants to be sizeof(struct in_ifaddr)
    > See chapter 14 of CodingStyle document. kmalloc(sizeof *addr... is correct.

    Come on, do not start a flame war about how parameters into kmalloc
    should be provided - there are much more serious issues unresolved yes. It
    does help grepping the code, but if you feel that this is a serious threat,
    then use your preferred way.

    Evgeniy Polyakov
    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-09-17 18:21    [W:0.020 / U:0.408 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site