Skip to contentSkip to conversation

of: dynamic: Fix spelling mistake "kojbect" -> "kobject"

PATCH Applied Colin Ian King 3 participants 3 messages Feb 20, 2023 – Feb 21, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: dynamic: Fix spelling mistake "kojbect" -> "kobject"

There is a spelling mistake in a pr_err message. Fix it.

---
 drivers/of/dynamic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/dynamic.c +1 -1
index 12aa99018969..07d93753b12f 100644
@@ -350,7 +350,7 @@ void of_node_release(struct kobject *kobj)
 		if (!IS_ENABLED(CONFIG_OF_UNITTEST) ||
 		    strcmp(node->parent->full_name, "testcase-data")) {
 			dump_stack();
-			pr_err("ERROR: next of_node_put() on this node will result in a kboject warning 'refcount_t: underflow; use-after-free.'\n");
+			pr_err("ERROR: next of_node_put() on this node will result in a kobject warning 'refcount_t: underflow; use-after-free.'\n");
 		}
 
 		return;
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Colin Ian King

There is a spelling mistake in a pr_err message. Fix it.

---
 drivers/of/dynamic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/dynamic.c +0 -0
index 12aa99018969..07d93753b12f 100644

drivers/of/dynamic.c void of_node_release(struct kobject *kobj) · line 356

Quoted 8 lines
drivers/of/dynamic.c +1 -1
@@ -350,7 +350,7 @@ void of_node_release(struct kobject *kobj)
 		if (!IS_ENABLED(CONFIG_OF_UNITTEST) ||
 		    strcmp(node->parent->full_name, "testcase-data")) {
 			dump_stack();
-			pr_err("ERROR: next of_node_put() on this node will result in a kboject warning 'refcount_t: underflow; use-after-free.'\n");
+			pr_err("ERROR: next of_node_put() on this node will result in a kobject warning 'refcount_t: underflow; use-after-free.'\n");
 		}
 
 		return;