lkml.org 
[lkml]   [2003]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE
    Date
    In article <20030525210509.09429aaa.l.s.r@web.de>,
    René Scharfe <l.s.r@web.de> wrote:
    >
    >Anyway, I corrected this. Patch below contains a "BSD-compatible" version,
    >and also a strlcat().

    Ok, I did my own versions, since (a) I had already started and your
    patches wouldn't apply, and (b) I hate adding a zillion lines of extra
    copyright notices for a 5-line function and (c) I think your patch had
    EXPORT_SYMBOL wrong.

    In particular, if any architecture ever decides to roll their own
    version of strlcpy/strlcat, the EXPORT_SYMBOL() in ksyms.c would be the
    wrong thing to do.

    The current BK tree has my totally untested versions of these functions
    ("Famous last words: 'how hard can it be?'"), along with what I think
    is the proper way to export them.

    Linus
    -
    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 13:35    [W:0.023 / U:2.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site