lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH/TRIVIAL] Fix comment in kobject_set_name
    Date
    ===================================================================


    ChangeSet@1.1837.1.35, 2004-08-21 23:07:15-05:00, dtor_core@ameritech.net
    kobject: fix kobject_set_name comment.

    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>


    kobject.c | 2 +-
    1 files changed, 1 insertion(+), 1 deletion(-)


    ===================================================================



    diff -Nru a/lib/kobject.c b/lib/kobject.c
    --- a/lib/kobject.c 2004-08-24 01:14:58 -05:00
    +++ b/lib/kobject.c 2004-08-24 01:14:58 -05:00
    @@ -325,7 +325,7 @@
    * @kobj: object.
    * @name: name.
    *
    - * If strlen(name) < KOBJ_NAME_LEN, then use a dynamically allocated
    + * If strlen(name) >= KOBJ_NAME_LEN, then use a dynamically allocated
    * string that @kobj->k_name points to. Otherwise, use the static
    * @kobj->name array.
    */
    -
    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 14:05    [W:0.022 / U:11.052 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site