[PATCH/TRIVIAL] Fix comment in kobject_set_name

From: Dmitry Torokhov
Date: Tue Aug 24 2004 - 01:19:50 EST


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


ChangeSet@xxxxxxxxxxx, 2004-08-21 23:07:15-05:00, dtor_core@xxxxxxxxxxxxx
kobject: fix kobject_set_name comment.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/