crypto: ecc - Silence sparse warning
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 6 Feb 2023 04:53:38 +0000 (12:53 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Feb 2023 05:39:33 +0000 (13:39 +0800)
commit5072b1c211107fca80b75f0ac0ca6f90e3385837
tree564249b865820f798d4e60a743e15b6c4258964e
parentd3777ceaad080716f6d2c1a4c62020d494df00db
crypto: ecc - Silence sparse warning

Rewrite the bitwise operations to silence the sparse warnings:

  CHECK   ../crypto/ecc.c
../crypto/ecc.c:1387:39: warning: dubious: !x | y
../crypto/ecc.c:1397:47: warning: dubious: !x | y

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecc.c