[V2] crypto/nx: fix spelling mistake: "availavle" -> "available"

Message ID 20171114143217.21456-1-colin.king@canonical.com
State New
Headers show
Series
  • [V2] crypto/nx: fix spelling mistake: "availavle" -> "available"
Related show

Commit Message

Colin Ian King Nov. 14, 2017, 2:32 p.m.
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in pr_err error message text. Also
fix spelling mistake in proceeding comment.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/crypto/nx/nx-842-powernv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Haren Myneni Nov. 14, 2017, 6:20 p.m. | #1
Sorry for my mistake. Thanks. 

Acked-by: Haren Myneni <haren@us.ibm.com> 

On 11/14/2017 06:32 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in pr_err error message text. Also
> fix spelling mistake in proceeding comment.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/crypto/nx/nx-842-powernv.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/nx/nx-842-powernv.c b/drivers/crypto/nx/nx-842-powernv.c
> index f2246a5abcf6..1e87637c412d 100644
> --- a/drivers/crypto/nx/nx-842-powernv.c
> +++ b/drivers/crypto/nx/nx-842-powernv.c
> @@ -743,8 +743,8 @@ static int nx842_open_percpu_txwins(void)
>  		}
> 
>  		if (!per_cpu(cpu_txwin, i)) {
> -			/* shoudn't happen, Each chip will have NX engine */
> -			pr_err("NX engine is not availavle for CPU %d\n", i);
> +			/* shouldn't happen, Each chip will have NX engine */
> +			pr_err("NX engine is not available for CPU %d\n", i);
>  			return -EINVAL;
>  		}
>  	}
>
Gabriel Paubert Nov. 14, 2017, 7:20 p.m. | #2
On Tue, Nov 14, 2017 at 02:32:17PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in pr_err error message text. Also
> fix spelling mistake in proceeding comment.

s/proceeding/preceding/ ?

> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/crypto/nx/nx-842-powernv.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/nx/nx-842-powernv.c b/drivers/crypto/nx/nx-842-powernv.c
> index f2246a5abcf6..1e87637c412d 100644
> --- a/drivers/crypto/nx/nx-842-powernv.c
> +++ b/drivers/crypto/nx/nx-842-powernv.c
> @@ -743,8 +743,8 @@ static int nx842_open_percpu_txwins(void)
>  		}
>  
>  		if (!per_cpu(cpu_txwin, i)) {
> -			/* shoudn't happen, Each chip will have NX engine */
> -			pr_err("NX engine is not availavle for CPU %d\n", i);
> +			/* shouldn't happen, Each chip will have NX engine */
> +			pr_err("NX engine is not available for CPU %d\n", i);
>  			return -EINVAL;
>  		}
>  	}
> -- 
> 2.14.1

Patch

diff --git a/drivers/crypto/nx/nx-842-powernv.c b/drivers/crypto/nx/nx-842-powernv.c
index f2246a5abcf6..1e87637c412d 100644
--- a/drivers/crypto/nx/nx-842-powernv.c
+++ b/drivers/crypto/nx/nx-842-powernv.c
@@ -743,8 +743,8 @@  static int nx842_open_percpu_txwins(void)
 		}
 
 		if (!per_cpu(cpu_txwin, i)) {
-			/* shoudn't happen, Each chip will have NX engine */
-			pr_err("NX engine is not availavle for CPU %d\n", i);
+			/* shouldn't happen, Each chip will have NX engine */
+			pr_err("NX engine is not available for CPU %d\n", i);
 			return -EINVAL;
 		}
 	}