summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-03-19 10:13:34 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 10:15:56 +0100
commit0193b32f565e14ef07ced5d6bf8986490ec8e0f1 (patch)
tree0afbea3962442cd1c6a40cb0423b4e925c74daf4 /crypto
parentcrypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init (diff)
downloadlinux-0193b32f565e14ef07ced5d6bf8986490ec8e0f1.tar.xz
linux-0193b32f565e14ef07ced5d6bf8986490ec8e0f1.zip
crypto: ecc - Correct an error in the comments
Remove repeated word 'bit' in comments. Signed-off-by: Meng Yu <yumeng18@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/ecc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecc.c b/crypto/ecc.c
index 884fe05fc270..afc6cefdc1d9 100644
--- a/crypto/ecc.c
+++ b/crypto/ecc.c
@@ -139,7 +139,7 @@ bool vli_is_zero(const u64 *vli, unsigned int ndigits)
}
EXPORT_SYMBOL(vli_is_zero);
-/* Returns nonzero if bit bit of vli is set. */
+/* Returns nonzero if bit of vli is set. */
static u64 vli_test_bit(const u64 *vli, unsigned int bit)
{
return (vli[bit / 64] & ((u64)1 << (bit % 64)));