From a83880068845d4973cdb7aeb52f870c5ce5b146c Mon Sep 17 00:00:00 2001 From: Vinay Kumar Yadav Date: Fri, 28 Feb 2020 11:39:40 +0530 Subject: crypto: chelsio/chtls - Fixed boolinit.cocci warning crypto: chtls - Fixed boolinit.cocci warning Signed-off-by: Vinay Kumar Yadav Signed-off-by: Herbert Xu --- drivers/crypto/chelsio/chtls/chtls_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') 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; -- cgit v1.2.3