Re: [PATCH -next 1/5] net: ceph: Fix a typo in osdmap.c

From: Ilya Dryomov
Date: Thu Mar 25 2021 - 12:42:34 EST


On Thu, Mar 25, 2021 at 7:37 AM Lu Wei <luwei32@xxxxxxxxxx> wrote:
>
> Modify "inital" to "initial" in net/ceph/osdmap.c.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Lu Wei <luwei32@xxxxxxxxxx>
> ---
> net/ceph/osdmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
> index 2b1dd252f231..c959320c4775 100644
> --- a/net/ceph/osdmap.c
> +++ b/net/ceph/osdmap.c
> @@ -1069,7 +1069,7 @@ static struct crush_work *get_workspace(struct workspace_manager *wsm,
>
> /*
> * Do not return the error but go back to waiting. We
> - * have the inital workspace and the CRUSH computation
> + * have the initial workspace and the CRUSH computation
> * time is bounded so we will get it eventually.
> */
> WARN_ON(atomic_read(&wsm->total_ws) < 1);
> --
> 2.17.1
>

Hi Lu,

There is at least one other legit typo in that file: "ambigous".
I'd rather fix all typos at once, so curious why Hulk Robot didn't
catch it.

Thanks,

Ilya