summaryrefslogtreecommitdiffstats
path: root/crypto/ecc.c
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-03-19 17:13:34 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 20:15:56 +1100
commit0193b32f565e14ef07ced5d6bf8986490ec8e0f1 (patch)
tree0afbea3962442cd1c6a40cb0423b4e925c74daf4 /crypto/ecc.c
parent8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446 (diff)
downloadlinux-0193b32f565e14ef07ced5d6bf8986490ec8e0f1.tar.gz
linux-0193b32f565e14ef07ced5d6bf8986490ec8e0f1.tar.bz2
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/ecc.c')
-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)));