diff options
author | Vinay Kumar Yadav <vinay.yadav@chelsio.com> | 2020-02-28 09:09:40 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 04:28:24 +0300 |
commit | a83880068845d4973cdb7aeb52f870c5ce5b146c (patch) | |
tree | c911a286b6387b6265c2453ac11aa65aa9f4b535 /drivers/crypto/chelsio | |
parent | 47c16b4499213b8173ad3c033a41d850c6fa0e7c (diff) | |
download | linux-a83880068845d4973cdb7aeb52f870c5ce5b146c.tar.xz |
crypto: chelsio/chtls - Fixed boolinit.cocci warning
crypto: chtls - Fixed boolinit.cocci warning
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio')
-rw-r--r-- | drivers/crypto/chelsio/chtls/chtls_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/chelsio/chtls/chtls_io.c b/drivers/crypto/chelsio/chtls/chtls_io.c index 781fe7c55a27..bd47119f4fda 100644 --- a/drivers/crypto/chelsio/chtls/chtls_io.c +++ b/drivers/crypto/chelsio/chtls/chtls_io.c @@ -1081,10 +1081,10 @@ new_buf: pg_size = page_size(page); if (off < pg_size && skb_can_coalesce(skb, i, page, off)) { - merge = 1; + merge = true; goto copy; } - merge = 0; + merge = false; if (i == (is_tls_tx(csk) ? (MAX_SKB_FRAGS - 1) : MAX_SKB_FRAGS)) goto new_buf; |