Re: [PATCH 2/5] char: fix typo "funcion" in comment
From: Lorenzo Stoakes (ARM)
Date: Fri Sep 04 2026 - 08:36:37 EST
On Fri, Sep 04, 2026 at 04:18:47PM +0530, Hemanth Selam wrote:
> Correct "funcion" to "function", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt. Only touches comments, no
> code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
This file has been moved into mm/ in a recent series of mine, but I guess it
should all come out in the wash anyway one way or another.
Anyway LGTM so:
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
> ---
> drivers/char/mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/mem.c b/drivers/char/mem.c
> index 63253d1de5d7..f9db486d7029 100644
> --- a/drivers/char/mem.c
> +++ b/drivers/char/mem.c
> @@ -76,7 +76,7 @@ static inline bool should_stop_iteration(void)
> }
>
> /*
> - * This funcion reads the *physical* memory. The f_pos points directly to the
> + * This function reads the *physical* memory. The f_pos points directly to the
> * memory location.
> */
> static ssize_t read_mem(struct file *file, char __user *buf,
> --
> 2.48.1
>
--
Cheers, Lorenzo