Message ID | 1499006535-19760-3-git-send-email-gilad@benyossef.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp8292203obb; Sun, 2 Jul 2017 07:43:16 -0700 (PDT) X-Received: by 10.98.32.200 with SMTP id m69mr5405535pfj.5.1499006596776; Sun, 02 Jul 2017 07:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499006596; cv=none; d=google.com; s=arc-20160816; b=M1htpJj0KKQofSHjPdtP7KawLYnaBHHYIzvLoMaiPa3GM5uWrNs/g1xNyMTltPeCaq 72Ow7f9TlASMUyewKy9MCd3huRaSnXwtfHoQXJVyoo8fzpF1c2GiKEN8HjinPsqiLnFx MAXZxdT2psrBiT7BFCduw/Rb++8ygSKvUrDDbv0gqjjVEDXsNtHR1kyg+GHW4F8Hun1D ST1NG0XTOEzhVvOI/p8oi2Rq3PItqWNkgVnUPeskutvMItg8NmCyIyeV0vQsyLpTepoY ZvVOPtd1Mx/HaBOoeU/xcOznSpkBQwPaHHE+3JJ+0gu60gehfLLtsyicY9UMVznC0yiD G83Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=riNmqUsaE2cb+KqO9T4hjGvGutosYPr8PbuQLe9VDDw=; b=pQiMAle+6UcIYVOxbz/m2fi62WiKDiou/S+tEalqtRhO9+Y125wGWvFDTKzuAE68tk rW7FQgFz7NygwQwRctu3QurVLY2Xit9Km2UEavvfGPeD8p7s7dDRKjy2gY3KW2+mL4rm kW0r/UWjgg1K57kaPjCwPAE3ONQIJ9NgOByYhZTBWZsF/0a8CFvgrHfTVsOkRZDd5t++ OuRCMSHhticXJHtN2fx3/AnhTmeTNXDuYYrmwckdI8K6jIbRFDbori/E4EVmH06hj5YW AuKowRCIOPbPhb/Dw6NTfGnIZZSwnyQdxr7ysQg8VQGtMufUJU15PDr6Qqkws5WX8HCU /V2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g72si10235551pfa.464.2017.07.02.07.43.16; Sun, 02 Jul 2017 07:43:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752201AbdGBOnJ (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Sun, 2 Jul 2017 10:43:09 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:53476 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751717AbdGBOnB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 2 Jul 2017 10:43:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 13279344; Sun, 2 Jul 2017 07:42:56 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2F08C3F578; Sun, 2 Jul 2017 07:42:47 -0700 (PDT) From: Gilad Ben-Yossef <gilad@benyossef.com> To: Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Jonathan Corbet <corbet@lwn.net>, David Howells <dhowells@redhat.com>, Tom Lendacky <thomas.lendacky@amd.com>, Gary Hook <gary.hook@amd.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, Arnaud Ebalard <arno@natisbad.org>, Matthias Brugger <matthias.bgg@gmail.com>, Alasdair Kergon <agk@redhat.com>, Mike Snitzer <snitzer@redhat.com>, dm-devel@redhat.com, Shaohua Li <shli@kernel.org>, Steve French <sfrench@samba.org>, "Theodore Y. Ts'o" <tytso@mit.edu>, Jaegeuk Kim <jaegeuk@kernel.org>, Mimi Zohar <zohar@linux.vnet.ibm.com>, Dmitry Kasatkin <dmitry.kasatkin@gmail.com>, James Morris <james.l.morris@oracle.com>, "Serge E. Hallyn" <serge@hallyn.com>, linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-raid@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-fscrypt@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, linux-ima-user@lists.sourceforge.net, linux-security-module@vger.kernel.org Cc: Ofir Drang <ofir.drang@arm.com> Subject: [PATCH v3 02/28] crypto: atmel: use -EIOCBQUEUED for backlog indication Date: Sun, 2 Jul 2017 17:41:44 +0300 Message-Id: <1499006535-19760-3-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1499006535-19760-1-git-send-email-gilad@benyossef.com> References: <1499006535-19760-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index a948202..30223ee 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -1204,7 +1204,7 @@ static int atmel_sha_finup(struct ahash_request *req) ctx->flags |= SHA_FLAGS_FINUP; err1 = atmel_sha_update(req); - if (err1 == -EINPROGRESS || err1 == -EBUSY) + if (err1 == -EINPROGRESS || err1 == -EIOCBQUEUED) return err1; /*
Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication as part of new API Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> --- This patch should be squashed with the first patch in the series when applied. drivers/crypto/atmel-sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4