Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp69125ybx; Thu, 31 Oct 2019 23:10:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaF+m1+XjfqyNsSIgay8Q38qrRpIF/Qeyl0ntZU6NqUb8wjNnDylg/IApALKf5jvjYSyMd X-Received: by 2002:a05:6402:88c:: with SMTP id e12mr10482232edy.170.1572588643317; Thu, 31 Oct 2019 23:10:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572588643; cv=none; d=google.com; s=arc-20160816; b=LTU4+N2VAkMdb409Igat3J/biwqo6K7AGAotBakOF7/3PiRekxqEufQ8zavoub4a2v 9quGlCWTZ9fdbHQIdExFItKJGSrXwVbHW7UTZF+/tXufmO+zNldY6lmJfsdQoDBxpEIY fq7SWw8x7W2zaUQ9CZixfGHblHQVNYVxmhf4JvcdtcuR4VJHHOXu1UqZB/8rE6OtEFzz M019z8JGM0RwxnY8N3FQf5BqMbmLr1WwoqdvB1C+rXFNrkbhPBKoqG4AbDML0pP7adey jBdytihJ3CMkPrKHUnAqRZCStte8L6HQIGh/etxe1qS+g6NCAtkXVDNLslQ6T5aAu3eZ jCRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fwpSHmNiSs5L7xVjXtH/a9BbJ1XaJ81tdDNuojsKego=; b=BVErisoKVwhTLZCaKegOjqynKZ7dqH1c48Swk/71Qzv2xKoH4CJKItV6zSsvy02rfV IhQztLqqYl1q4KbxIcYL4joh5DsmTmH+wTIzEb2spGLrFul8Bv8Uj1iExFlLwXAtJgL5 0V+rof+N/nw4p1d235k2+HA8myiKhqhhTtS7WGGU5pAyE/7tm+SYrXrgHLGb55SGLA81 8xjwJ0lIZvFBSYZ7+d2TYp2LNuklXwkN97h/YCOHj+yEFSyvOlC4k5ECcJSoByvEAoyk g4U9p0l99WH4pG4yE/D4qVEOuHxm3bIWG2X5Qou9SlW9hO3dcs/5YeU8tpL8enxtdcRD VFNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si2809194edx.449.2019.10.31.23.10.18; Thu, 31 Oct 2019 23:10:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729787AbfKAGHL (ORCPT + 99 others); Fri, 1 Nov 2019 02:07:11 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:37488 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728104AbfKAGHL (ORCPT ); Fri, 1 Nov 2019 02:07:11 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1iQQ5O-0001qg-VP; Fri, 01 Nov 2019 14:07:03 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iQQ5G-0004oZ-Jx; Fri, 01 Nov 2019 14:06:54 +0800 Date: Fri, 1 Nov 2019 14:06:54 +0800 From: Herbert Xu To: Yunfeng Ye Cc: davem@davemloft.net, catalin.marinas@arm.com, will@kernel.org, ard.biesheuvel@linaro.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hushiyuan@huawei.com, "linfeilong@huawei.com" Subject: Re: [PATCH v3] crypto: arm64/aes-neonbs - add return value of skcipher_walk_done() in __xts_crypt() Message-ID: <20191101060654.w3jigumlcjep26mu@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Oct 22, 2019 at 04:11:18PM +0800, Yunfeng Ye wrote: > A warning is found by the static code analysis tool: > "Identical condition 'err', second condition is always false" > > Fix this by adding return value of skcipher_walk_done(). > > Fixes: 67cfa5d3b721 ("crypto: arm64/aes-neonbs - implement ciphertext stealing for XTS") > Signed-off-by: Yunfeng Ye > Acked-by: Ard Biesheuvel > --- > v2 -> v3: > - add "Acked-by:" > > v1 -> v2: > - update the subject and comment > - add return value of skcipher_walk_done() > > arch/arm64/crypto/aes-neonbs-glue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt