Drop doubled words or fix them to what they should be. Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org crypto/algif_aead.c | 2 +- crypto/asymmetric_keys/pkcs7_parser.h | 2 +- crypto/crc32c_generic.c | 4 ++-- crypto/crct10dif_generic.c | 2 +- crypto/crypto_engine.c | 2 +- crypto/tcrypt.c | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-)
Drop the doubled word "is". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/algif_aead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200730.orig/crypto/algif_aead.c +++ linux-next-20200730/crypto/algif_aead.c @@ -120,7 +120,7 @@ static int _aead_recvmsg(struct socket * /* * Make sure sufficient data is present -- note, the same check is - * is also present in sendmsg/sendpage. The checks in sendpage/sendmsg + * also present in sendmsg/sendpage. The checks in sendpage/sendmsg * shall provide an information to the data sender that something is * wrong, but they are irrelevant to maintain the kernel integrity. * We need this check here too in case user space decides to not honor
Drop the doubled word "the". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/asymmetric_keys/pkcs7_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200730.orig/crypto/asymmetric_keys/pkcs7_parser.h +++ linux-next-20200730/crypto/asymmetric_keys/pkcs7_parser.h @@ -41,7 +41,7 @@ struct pkcs7_signed_info { * * This contains the generated digest of _either_ the Content Data or * the Authenticated Attributes [RFC2315 9.3]. If the latter, one of - * the attributes contains the digest of the the Content Data within + * the attributes contains the digest of the Content Data within * it. * * THis also contains the issuing cert serial number and issuer's name
Drop the doubled word "the". Change "at at" to "at a". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/crc32c_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200730.orig/crypto/crc32c_generic.c +++ linux-next-20200730/crypto/crc32c_generic.c @@ -15,7 +15,7 @@ * pages = {}, * month = {June}, *} - * Used by the iSCSI driver, possibly others, and derived from the + * Used by the iSCSI driver, possibly others, and derived from * the iscsi-crc.c module of the linux-iscsi driver at * http://linux-iscsi.sourceforge.net. * @@ -50,7 +50,7 @@ struct chksum_desc_ctx { }; /* - * Steps through buffer one byte at at time, calculates reflected + * Steps through buffer one byte at a time, calculates reflected * crc using table. */
Change the doubled word "at" to "at a". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/crct10dif_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200730.orig/crypto/crct10dif_generic.c +++ linux-next-20200730/crypto/crct10dif_generic.c @@ -35,7 +35,7 @@ struct chksum_desc_ctx { }; /* - * Steps through buffer one byte at at time, calculates reflected + * Steps through buffer one byte at a time, calculates reflected * crc using table. */
Drop the doubled word "a". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/crypto_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200730.orig/crypto/crypto_engine.c +++ linux-next-20200730/crypto/crypto_engine.c @@ -465,7 +465,7 @@ EXPORT_SYMBOL_GPL(crypto_engine_stop); * crypto-engine queue. * @dev: the device attached with one hardware engine * @retry_support: whether hardware has support for retry mechanism - * @cbk_do_batch: pointer to a callback function to be invoked when executing a + * @cbk_do_batch: pointer to a callback function to be invoked when executing * a batch of requests. * This has the form: * callback(struct crypto_engine *engine)
Drop the doubled word "failed" in pr_err() messages. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-crypto@vger.kernel.org --- crypto/tcrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200730.orig/crypto/tcrypt.c +++ linux-next-20200730/crypto/tcrypt.c @@ -398,7 +398,7 @@ static void test_mb_aead_speed(const cha ret = do_one_aead_op(cur->req, ret); if (ret) { - pr_err("calculating auth failed failed (%d)\n", + pr_err("calculating auth failed (%d)\n", ret); break; } @@ -648,7 +648,7 @@ static void test_aead_speed(const char * crypto_aead_encrypt(req)); if (ret) { - pr_err("calculating auth failed failed (%d)\n", + pr_err("calculating auth failed (%d)\n", ret); break; }
On Thu, Jul 30, 2020 at 07:39:18PM -0700, Randy Dunlap wrote: > Drop doubled words or fix them to what they should be. > > > Cc: Herbert Xu <herbert@gondor.apana.org.au> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: linux-crypto@vger.kernel.org > > crypto/algif_aead.c | 2 +- > crypto/asymmetric_keys/pkcs7_parser.h | 2 +- > crypto/crc32c_generic.c | 4 ++-- > crypto/crct10dif_generic.c | 2 +- > crypto/crypto_engine.c | 2 +- > crypto/tcrypt.c | 4 ++-- > 6 files changed, 8 insertions(+), 8 deletions(-) Patches 1,3-6 applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt