[PATCH] fs: binfmt: Fix a typo

Christophe JAILLET posted 1 patch 3 weeks, 1 day ago
fs/binfmt_misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] fs: binfmt: Fix a typo
Posted by Christophe JAILLET 3 weeks, 1 day ago
A 't' is missing in "binfm_misc".
Add it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 fs/binfmt_misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index 31660d8cc2c6..df6a229b5e62 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -998,7 +998,7 @@ static int bm_fill_super(struct super_block *sb, struct fs_context *fc)
 		/*
 		 * If it turns out that most user namespaces actually want to
 		 * register their own binary type handler and therefore all
-		 * create their own separate binfm_misc mounts we should
+		 * create their own separate binfmt_misc mounts we should
 		 * consider turning this into a kmem cache.
 		 */
 		misc = kzalloc(sizeof(struct binfmt_misc), GFP_KERNEL);
-- 
2.47.0
Re: [PATCH] fs: binfmt: Fix a typo
Posted by Kees Cook 3 weeks ago
On Sat, 02 Nov 2024 10:25:04 +0100, Christophe JAILLET wrote:
> A 't' is missing in "binfm_misc".
> Add it.
> 
> 

Applied to for-next/execve, thanks!

[1/1] fs: binfmt: Fix a typo
      https://git.kernel.org/kees/c/2b9635cb6cf3

Take care,

-- 
Kees Cook
Re: [PATCH] fs: binfmt: Fix a typo
Posted by Eric W. Biederman 3 weeks, 1 day ago
Christophe JAILLET <christophe.jaillet@wanadoo.fr> writes:

> A 't' is missing in "binfm_misc".
> Add it.

Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>

>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>  fs/binfmt_misc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
> index 31660d8cc2c6..df6a229b5e62 100644
> --- a/fs/binfmt_misc.c
> +++ b/fs/binfmt_misc.c
> @@ -998,7 +998,7 @@ static int bm_fill_super(struct super_block *sb, struct fs_context *fc)
>  		/*
>  		 * If it turns out that most user namespaces actually want to
>  		 * register their own binary type handler and therefore all
> -		 * create their own separate binfm_misc mounts we should
> +		 * create their own separate binfmt_misc mounts we should
>  		 * consider turning this into a kmem cache.
>  		 */
>  		misc = kzalloc(sizeof(struct binfmt_misc), GFP_KERNEL);