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

Message ID 20230220144422.873356-1-colin.i.king@gmail.com
State New
Headers
Series [next] of: dynamic: Fix spelling mistake "kojbect" -> "kobject" |

Commit Message

Colin Ian King Feb. 20, 2023, 2:44 p.m. UTC
  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(-)
  

Comments

Frank Rowand Feb. 20, 2023, 6:48 p.m. UTC | #1
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>
  
Rob Herring Feb. 21, 2023, 3:44 p.m. UTC | #2
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!
  

Patch

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;