Re: [PATCH] locking/ww_mutex: fix spelling mistake "cylic" -> "cyclic"
From: Will Deacon
Date: Tue Aug 28 2018 - 13:39:44 EST
On Fri, Aug 24, 2018 at 12:22:35PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Trivial fix to spelling mistake in pr_err error message
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> kernel/locking/test-ww_mutex.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Given that this is part of an error message, I agree it's worth fixing.
Will
> diff --git a/kernel/locking/test-ww_mutex.c b/kernel/locking/test-ww_mutex.c
> index 5b915b370d5a..0be047dbd897 100644
> --- a/kernel/locking/test-ww_mutex.c
> +++ b/kernel/locking/test-ww_mutex.c
> @@ -324,7 +324,7 @@ static int __test_cycle(unsigned int nthreads)
> if (!cycle->result)
> continue;
>
> - pr_err("cylic deadlock not resolved, ret[%d/%d] = %d\n",
> + pr_err("cyclic deadlock not resolved, ret[%d/%d] = %d\n",
> n, nthreads, cycle->result);
> ret = -EINVAL;
> break;
> --
> 2.17.1
>