Message ID | 1616145214-40494-1-git-send-email-yumeng18@huawei.com |
---|---|
State | Accepted |
Commit | 0193b32f565e14ef07ced5d6bf8986490ec8e0f1 |
Headers | show |
Series | crypto: Correct an error in the comments | expand |
On Fri, Mar 19, 2021 at 05:13:34PM +0800, Meng Yu wrote: > Remove repeated word 'bit' in comments. > > Signed-off-by: Meng Yu <yumeng18@huawei.com> > --- > crypto/ecc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch 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
diff --git a/crypto/ecc.c b/crypto/ecc.c index 0798a18..63ba70b 100644 --- a/crypto/ecc.c +++ b/crypto/ecc.c @@ -137,7 +137,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)));
Remove repeated word 'bit' in comments. Signed-off-by: Meng Yu <yumeng18@huawei.com> --- crypto/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)