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

From: Frank Rowand
Date: Mon Feb 20 2023 - 13:49:58 EST


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 <colin.i.king@xxxxxxxxx>
> ---
> 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 <frowand.list@xxxxxxxxx>