diff mbox

crypto: Fix a typo in ahash.c

Message ID CABV2FHjqGTBWjNqT6g=v2nW1rXg4oGNrYvbAZUXxpE_Wn_UvUA@mail.gmail.com (mailing list archive)
State Changes Requested
Delegated to: Herbert Xu
Headers show

Commit Message

Terence Eden Nov. 17, 2014, 6:52 p.m. UTC
From: Terence Eden <terence.eden@gmail.com>

"its" == "something belong to it". "it's" == "it is", "it has", "it
was", etc. Sorry - just bugged me as I was reading the code.
(Resubmitting - hopefully correctly!)

Signed-off-by: Terence Eden <terence.eden@gmail.com>
---
 crypto/ahash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

     req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1);

Comments

Herbert Xu Nov. 19, 2014, 12:40 p.m. UTC | #1
On Mon, Nov 17, 2014 at 06:52:40PM +0000, Terence Eden wrote:
> From: Terence Eden <terence.eden@gmail.com>
> 
> "its" == "something belong to it". "it's" == "it is", "it has", "it
> was", etc. Sorry - just bugged me as I was reading the code.
> (Resubmitting - hopefully correctly!)
> 
> Signed-off-by: Terence Eden <terence.eden@gmail.com>
> ---
>  crypto/ahash.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/crypto/ahash.c b/crypto/ahash.c
> index f6a36a5..ffbcda3 100644
> --- a/crypto/ahash.c
> +++ b/crypto/ahash.c
> @@ -271,7 +271,7 @@ static int ahash_save_req(struct ahash_request
> *req, crypto_completion_t cplt)
>      /*
>       * WARNING: We do not backup req->priv here! The req->priv
>       *          is for internal use of the Crypto API and the
> -     *          user must _NOT_ _EVER_ depend on it's content!
> +     *          user must _NOT_ _EVER_ depend on its content!

Sorry but your patch does not apply because you've mangled tabs
into spaces.  Please try to apply the patch that you receive via
the list yourself to ensure that you're sending something that
can be applied.

Thanks,
diff mbox

Patch

diff --git a/crypto/ahash.c b/crypto/ahash.c
index f6a36a5..ffbcda3 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -271,7 +271,7 @@  static int ahash_save_req(struct ahash_request
*req, crypto_completion_t cplt)
     /*
      * WARNING: We do not backup req->priv here! The req->priv
      *          is for internal use of the Crypto API and the
-     *          user must _NOT_ _EVER_ depend on it's content!
+     *          user must _NOT_ _EVER_ depend on its content!
      */