2023-02-20 14:44:29

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"

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

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/of/dynamic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c
index 12aa99018969..07d93753b12f 100644
--- a/drivers/of/dynamic.c
+++ b/drivers/of/dynamic.c
@@ -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;
--
2.30.2



2023-02-20 18:49:58

by Frank Rowand

[permalink] [raw]
Subject: Re: [PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"

On 2/20/23 08:44, Colin Ian King wrote:
> There is a spelling mistake in a pr_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/of/dynamic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c
> index 12aa99018969..07d93753b12f 100644
> --- a/drivers/of/dynamic.c
> +++ b/drivers/of/dynamic.c
> @@ -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;

Reviewed-by: Frank Rowand <[email protected]>

2023-02-21 15:44:52

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"


On Mon, 20 Feb 2023 14:44:22 +0000, Colin Ian King wrote:
> There is a spelling mistake in a pr_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/of/dynamic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks!