summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject.c')
-rw-r--r--lib/kobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 24aa09ae069a..e1aa086c6a3b 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -343,7 +343,7 @@ int kobject_register(struct kobject * kobj)
* @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.
*/