Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7853970ybi; Tue, 9 Jul 2019 05:27:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlUaEKrzREkA7VmH4njDevEhIYFeKhrb8PZKj7vEOemV0f4zmvOZ4e0pJyfpr5n3b1y4XB X-Received: by 2002:a17:902:8bc1:: with SMTP id r1mr31692508plo.42.1562675223421; Tue, 09 Jul 2019 05:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562675223; cv=none; d=google.com; s=arc-20160816; b=l0fINlTKwZIvCmCgh/dtP/IqKTut4ZFvdmWA/xzjTsxrimqPw6jjjvHxA9QTihwj0P sakmlsyYBNUDQdGA+yfCT35awGv/Je8NrDVp2/SewWhxF1Tw8qgVaH6Dt6ceuQZ/quQA LTtmgecrOV59NEggqqu6eTCADJW3BKbNST+mvvQOon3MUIh+dIfAx4O5tDGqTLr3EfPD qtEQIA/Am1ckgoq+85aYGDSZAvFtFxsI2kqxv3LA/Z0uF/T9+dnxOFcAgzfXqYRINDoZ Lwa3kSI269GSJu7LyRFNbj2xxoE40Gpv6nVtOE3f6Ol/mZcYDObkGinJ21SgvWqB+i9Y hOuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Ea9OBefP7pvSSVqfUjzFtJLO1qfu1J5IpuBC6szvXA8=; b=mem36A3baVvFhGP3hBn1IrgDm3GO8clz7Q7YZUEsIiDcT/EVY9PHZIyRPogLQzyfex sMXuZlL86a9LxzwojGGD3ystTkj7gKizPMnlZEIjP3Kf34dFy1FDhJOunfzoKWZ1kh5O wfg8h6b8P4tgljF9ascjYuDzkTZRkLr+ej+tUmTsnb9NBD9bNYiqLpfYb2cbxjJKiaV+ wdv9fxzrXx1bICzSfX0+KQaPAQ2EI23Kqw2nMOCDsJRd16YRNJEDJktcQT4FadTYJg2k FW9Ni7gBWA1I9V8Eh020KsSztSBcqKyGuf0dxtSjz2b/Lt2Ix/16zk7TuDYerT97roeA N3KQ== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14si22119377pgi.434.2019.07.09.05.26.48; Tue, 09 Jul 2019 05:27:03 -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 S1726229AbfGIMZR (ORCPT + 99 others); Tue, 9 Jul 2019 08:25:17 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40871 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfGIMZQ (ORCPT ); Tue, 9 Jul 2019 08:25:16 -0400 Received: by mail-wm1-f66.google.com with SMTP id v19so3010792wmj.5; Tue, 09 Jul 2019 05:25:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ea9OBefP7pvSSVqfUjzFtJLO1qfu1J5IpuBC6szvXA8=; b=lIar8W4V571Uxu2sERl4IlWUHpeepEqFxd/bFLkygRHMvazE9Zr+z/Yc3aTF8JC8Ra B55X43nzw41xyOLFNVrJJhwdsInndY3rU7HG9jZeEqP/C+K/I/9lj959goQLVF02n5E7 FrXMazJ4C+P6EVwBN0ZAUGFvD6E+lEsbKGzWKIMxlkM5xpTQ7WANdGIxf5dOW9YGbdKf xGGXv6wyAE6YXSNaAs5SSExZCicSfiCIXHir0k1m/CsFY0H4RbVapgdkcpBoK8pvPViI p8aBxqUTJfjtBVyMR88jy3UrFCDqdcUu1tdCo8gXBqTKqoRxgxHlXlAp0GK2d4090G8a TITA== X-Gm-Message-State: APjAAAWfy/ruBe+CvDucBWLiNoHuLMrRdYdSwCJ2gdsNHx6F1oBuoz42 MemV8yl8cj2+HgG4jLvli4E= X-Received: by 2002:a1c:7a02:: with SMTP id v2mr22236575wmc.159.1562675114409; Tue, 09 Jul 2019 05:25:14 -0700 (PDT) Received: from green.intra.ispras.ru (bran.ispras.ru. [83.149.199.196]) by smtp.googlemail.com with ESMTPSA id j26sm21223565wrb.88.2019.07.09.05.25.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 05:25:13 -0700 (PDT) From: Denis Efremov To: Harald Freudenberger Cc: Denis Efremov , Martin Schwidefsky , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] s390/zcrypt: remove the exporting of ap_query_configuration Date: Tue, 9 Jul 2019 15:25:07 +0300 Message-Id: <20190709122507.11158-1-efremov@linux.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function ap_query_configuration is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the drivers/s390/crypto/ap_bus.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Fixes: f1b0a4343c41 ("s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.") Fixes: 050349b5b71d ("s390/zcrypt: externalize AP config info query") Signed-off-by: Denis Efremov --- drivers/s390/crypto/ap_bus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index b9fc502c58c2..379e43b79006 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c @@ -208,7 +208,6 @@ static inline int ap_query_configuration(struct ap_config_info *info) return -EINVAL; return ap_qci(info); } -EXPORT_SYMBOL(ap_query_configuration); /** * ap_init_configuration(): Allocate and query configuration array. -- 2.21.0