From patchwork Sun Jul 2 14:41:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 106846 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp8293047obb; Sun, 2 Jul 2017 07:44:21 -0700 (PDT) X-Received: by 10.84.128.102 with SMTP id 93mr5606405pla.21.1499006661066; Sun, 02 Jul 2017 07:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499006661; cv=none; d=google.com; s=arc-20160816; b=ZjOVIl7ah77baTbw6iDxFSSHw55H1+F1me1uy+XfzAV3hiCq1PONNYVInvpX4uld49 4lTQKy5J2XOAj2jv5J/RGK0l25+qg25vQFhoWO9vnshOzkzcepO8lHB+TjE1sINz3YGJ jB+cW2xT2jFPpLUJrReQA4hCgfE23pMe2G2X7yenwR951RvZ8RaQGXcvUzCmVfIntSwd IBqk03+hWx+fZvhGxf0/eT6mgMzAs4JRCfrTT8myx/qhR6BAWvXZlxUFGFP1wgIZHl8N BC3+ohQKVMWXA6mCHjVJ0rKv8GRY3hM3a4lk45/8vK8L/gF8NCap9pXiw4YUsQvd7PyD vdpg== 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=ctFlAVM/rZxssevNrVNeLfvj9XmZ43ZmiYCMNdO3hiY=; b=SPXN/c7aJjUcwO+9X+zwrLDMHU7uWngfK/cZeuio7Y8rcaPkMPLfj8+Co8sDNPhLDB DBZqIhNS2+B0hkAlBfo+VrMHMN+X1NC5vrno9WGBLPX9oEZ3R1Q2rD9Gx6pN/pwSd1hK 9NUDTxEODGvWJoOdnttmyz6E3fn3N1BCjVjZPEz+JCYJVrbgFT01Ps/DWh/vOG6p3zhQ t4b0sg058yq8VvimeDVanYAGtBrDwzvGhHOTgoUXbVLR58bMH+PM+yzwno3icnKEiOha wGpOi34ujgh01eWm6DqGmTG1ZLzjJPOpAn5DnwuGL/7ROvqC/fm4LSuPJdBRm+DSnRvt pnPg== 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 w125si10188980pfb.449.2017.07.02.07.44.20; Sun, 02 Jul 2017 07:44:21 -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 S1752404AbdGBOoD (ORCPT + 1 other); Sun, 2 Jul 2017 10:44:03 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:53710 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752390AbdGBOn6 (ORCPT ); Sun, 2 Jul 2017 10:43:58 -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 DD041344; Sun, 2 Jul 2017 07:43:47 -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 0E14C3F578; Sun, 2 Jul 2017 07:43:39 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" , Jonathan Corbet , David Howells , Tom Lendacky , Gary Hook , Boris Brezillon , Arnaud Ebalard , Matthias Brugger , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Shaohua Li , Steve French , "Theodore Y. Ts'o" , Jaegeuk Kim , Mimi Zohar , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , 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 Subject: [PATCH v3 06/28] crypto: omap: use -EIOCBQUEUED for backlog indication Date: Sun, 2 Jul 2017 17:41:48 +0300 Message-Id: <1499006535-19760-7-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-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication as part of new API. Signed-off-by: Gilad Ben-Yossef --- This patch should be squashed with the first patch in the series when applied. drivers/crypto/omap-sham.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 9ad9d39..dfac821 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -1279,7 +1279,7 @@ static int omap_sham_finup(struct ahash_request *req) ctx->flags |= BIT(FLAGS_FINUP); err1 = omap_sham_update(req); - if (err1 == -EINPROGRESS || err1 == -EBUSY) + if (err1 == -EINPROGRESS || err1 == -EIOCBQUEUED) return err1; /* * final() has to be always called to cleanup resources