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

Colin Ian King posted 1 patch 2 years, 6 months ago
drivers/of/dynamic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"
Posted by Colin Ian King 2 years, 6 months ago
There is a spelling mistake in a pr_err message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 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
Re: [PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"
Posted by Rob Herring 2 years, 6 months ago
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 <colin.i.king@gmail.com>
> ---
>  drivers/of/dynamic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
Re: [PATCH][next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject"
Posted by Frank Rowand 2 years, 6 months ago
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@gmail.com>
> ---
>  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@gmail.com>