Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp960683ybm; Tue, 21 May 2019 06:35:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzY7+xJQIsDzewLO5zSnWzldFVbs8BrF15JODGCS6ko8cdPA6eHwWGoyQ52s3oLXUrTq4fm X-Received: by 2002:a63:6103:: with SMTP id v3mr83141247pgb.48.1558445729568; Tue, 21 May 2019 06:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558445729; cv=none; d=google.com; s=arc-20160816; b=HZDwJBvNp8zNOuPRYm4LgY0os8nd9/p+OBgJH03Vh/gFUCGewLA1Ix/kFd+5OvF/Tp jt+691l61i24LViz1KmOV6JonJ9xFMbXHGrzjtAdmmBQlYlv9MuMC644/8r6hmNIQl+l x3IsmQNk/o4TqabiM7ql6NMLjjrLYHLRY2qyQX4i/b90yTfJ6NHcPzuF25ps2b0LeseF 0rsKA58w5/ZPfgdxnjHF3agtjxBhvz0wVbicBM77v6yl6HnJ3/8cbcwDiljt7DbLAcf0 mNejYriLzvYC9Q116dIvIPmi7Ry9oo8WcQEiGueIXRDGnWldLDrbzXIeATkB6nOorxZM Cwdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=e4R1GxV4BLvdkAcYfG6P+bOpOR7fSCB+O6QW8jlVDQg=; b=Sn0m8jmFTaq9kIhr18SieUGM8V6crng7wV/bEB7tc0FInWU7kLg2seoaWbwIIF4TqB XwNSmdAaAo1j2rCX5v3kzJU0qSap2JMm821iEwSVhTCEdWi0eG6tvSMDKL7Q/tUmI3S+ xsUdVkkaWMuVjLYzRCpSsmsZz20pPTgi95iP1OIbZv4wHkTvkur03Ocotky1sXKRp3yh c7ydQAMPU2rtmUH564FmKzex97fi+cxQkmcYP8YUEk9zZwlKavRQZDavd3xD1STSzTPT 4XjL+AEIl5UG1N6hXY9cXos7NbBODzrh7tx/2g7f3oimQ62SzjuS14YgTY2fy5wP8N2C XKmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=CjHJfRxo; 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 67si21888812plf.382.2019.05.21.06.35.14; Tue, 21 May 2019 06:35:29 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=CjHJfRxo; 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 S1726995AbfEUNel (ORCPT + 99 others); Tue, 21 May 2019 09:34:41 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:15725 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbfEUNeW (ORCPT ); Tue, 21 May 2019 09:34:22 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 457cDq1XBbz9v2Xd; Tue, 21 May 2019 15:34:19 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=CjHJfRxo; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id LBpr19dfm8xn; Tue, 21 May 2019 15:34:19 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 457cDq0QQNz9v2XX; Tue, 21 May 2019 15:34:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1558445659; bh=e4R1GxV4BLvdkAcYfG6P+bOpOR7fSCB+O6QW8jlVDQg=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=CjHJfRxoBz5hIT0XzNtGoYzOSJ6qp72Q8t7+nN+GJ9KXRKuZ+PniCX0ana0GZhFP1 bMGkv0wI6BUfDfF5BlMAnKXotEH5YdkyKlfABx+8Nr7p+aNn/kcXQQ6yf6ow6SKpMt 5+BbGdM2Ka85wCZQ/DquMdAjrnkUEcdw50ItHv0U= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 83AEC8B80C; Tue, 21 May 2019 15:34:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id o2Pqt-vI2WuY; Tue, 21 May 2019 15:34:20 +0200 (CEST) Received: from po16846vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 543AB8B803; Tue, 21 May 2019 15:34:20 +0200 (CEST) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 188DF68458; Tue, 21 May 2019 13:34:20 +0000 (UTC) Message-Id: <0d6806d4de952f2ed7be8d1dbfde32a25da613bf.1558445259.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v1 13/15] Revert "crypto: talitos - export the talitos_submit function" To: Herbert Xu , "David S. Miller" , horia.geanta@nxp.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Tue, 21 May 2019 13:34:20 +0000 (UTC) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org There is no other file using talitos_submit in the kernel tree, so it doesn't need to be exported nor made global. This reverts commit 865d506155b117edc7e668ced373030ce7108ce9. Signed-off-by: Christophe Leroy Fixes: 865d506155b1 ("crypto: talitos - export the talitos_submit function") --- drivers/crypto/talitos.c | 11 +++++------ drivers/crypto/talitos.h | 6 ------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 12917fd54bcb..6fe900d8e5d8 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -278,11 +278,11 @@ static int init_device(struct device *dev) * callback must check err and feedback in descriptor header * for device processing status. */ -int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc, - void (*callback)(struct device *dev, - struct talitos_desc *desc, - void *context, int error), - void *context) +static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc, + void (*callback)(struct device *dev, + struct talitos_desc *desc, + void *context, int error), + void *context) { struct talitos_private *priv = dev_get_drvdata(dev); struct talitos_request *request; @@ -332,7 +332,6 @@ int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc, return -EINPROGRESS; } -EXPORT_SYMBOL(talitos_submit); /* * process what was done, notify callback of error if not diff --git a/drivers/crypto/talitos.h b/drivers/crypto/talitos.h index dbedd0956c8a..95e97951b924 100644 --- a/drivers/crypto/talitos.h +++ b/drivers/crypto/talitos.h @@ -150,12 +150,6 @@ struct talitos_private { bool rng_registered; }; -extern int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc, - void (*callback)(struct device *dev, - struct talitos_desc *desc, - void *context, int error), - void *context); - /* .features flag */ #define TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT 0x00000001 #define TALITOS_FTR_HW_AUTH_CHECK 0x00000002 -- 2.13.3