2017-02-22 23:51:38

by Colin King

[permalink] [raw]
Subject: [PATCH] crypto: brcm: fix spelling mistake: "genereate" -> "generate"

From: Colin Ian King <[email protected]>

trivial fix to spelling mistake in pr_err message

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/crypto/bcm/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/bcm/util.c b/drivers/crypto/bcm/util.c
index 0502f46..430c557 100644
--- a/drivers/crypto/bcm/util.c
+++ b/drivers/crypto/bcm/util.c
@@ -312,7 +312,7 @@ int do_shash(unsigned char *name, unsigned char *result,
}
rc = crypto_shash_final(&sdesc->shash, result);
if (rc)
- pr_err("%s: Could not genereate %s hash", __func__, name);
+ pr_err("%s: Could not generate %s hash", __func__, name);

do_shash_err:
crypto_free_shash(hash);
--
2.10.2


2017-02-24 13:03:36

by Steve Lin

[permalink] [raw]
Subject: Re: [PATCH] crypto: brcm: fix spelling mistake: "genereate" -> "generate"

Looks good, thanks!

Acked-by: Steve Lin <[email protected]>

On Wed, Feb 22, 2017 at 6:51 PM, Colin King <[email protected]> wrote:
> From: Colin Ian King <[email protected]>
>
> trivial fix to spelling mistake in pr_err message
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/crypto/bcm/util.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/bcm/util.c b/drivers/crypto/bcm/util.c
> index 0502f46..430c557 100644
> --- a/drivers/crypto/bcm/util.c
> +++ b/drivers/crypto/bcm/util.c
> @@ -312,7 +312,7 @@ int do_shash(unsigned char *name, unsigned char *result,
> }
> rc = crypto_shash_final(&sdesc->shash, result);
> if (rc)
> - pr_err("%s: Could not genereate %s hash", __func__, name);
> + pr_err("%s: Could not generate %s hash", __func__, name);
>
> do_shash_err:
> crypto_free_shash(hash);
> --
> 2.10.2
>

2017-03-09 10:47:27

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: brcm: fix spelling mistake: "genereate" -> "generate"

On Wed, Feb 22, 2017 at 11:51:38PM +0000, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> trivial fix to spelling mistake in pr_err message
>
> Signed-off-by: Colin Ian King <[email protected]>

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt