Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1634431rwe; Sat, 15 Apr 2023 03:13:50 -0700 (PDT) X-Google-Smtp-Source: AKy350aB0pKHMckWxhDhG1bWEUvyFJnMAjbAurnEYSyJxjl6iqifMHwWjqL8++bg8oY7IdYhEvCO X-Received: by 2002:a17:902:ecc4:b0:1a6:567d:a691 with SMTP id a4-20020a170902ecc400b001a6567da691mr6352966plh.5.1681553630492; Sat, 15 Apr 2023 03:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681553630; cv=none; d=google.com; s=arc-20160816; b=G/Y5bq/MxYeCkNPbejDWVfpDlEvR4rgLdIz4QF0Dx6mVEWIILpL6YMLlPwaBFQeJwv v39DyENIoJShowSM37RSkC6SxzsXPH2pfD8XKZJZ6vSJp/Ky2VUh1WfF092L/tdtIyg4 Y4h7erXMbNgN1Va6t59217p3zYq0ocdxnwS+WWZvqNUSl1EjC32aEOuGz6kTpUhNXtrY lIyN/HuP3MvmB2aPBMXamTFkh+u035VLqtFr8CYamjtabLGKuco4rhfLRqQmkO+8gFMZ V+8Z+BraiQ1wB4gqe4R+2EG4oMZDWARgljCHy1f3aMo9QK4dJrF1SVrf1eM+bbg/XVMW xz+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=KFrBRsIlV/43UT2lNCwAjOCKQ+ncNAyA+uvM09MftyQ=; b=XtQbGNW4XeGQLRxYRmOH8iyNycZKVGQa27+vxLG8M+VMS8D+iRasBEUv317C3h9opH uoSjR3xBlWfC8ZpioPinIEXGGFE8Hm4+7mHhZvtWultpU02N7uayMl5Emss9fm9ptzAy ScbVAkuCUTF0OyPr3hzwRAiF2QtI0gdpfCfZtVKJjT3l7i0d5j0ld3h7k/nOmwy+4gKK ZRpd3xUZqDQ5y/4eF4eGiO+/NN10a/gjBqnWl2zYR9VgERsQBaK+3erHwQirmuuqOoIc PNiQ0CTQczOvQLK/Rvd2p9zMd9nRJWYfGXVHRV0wK1V2Vw1/m3U73AAau/QxV+i3Ancd +q/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a170902b58600b001a6565a16c4si6488537pls.493.2023.04.15.03.13.38; Sat, 15 Apr 2023 03:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbjDOKME (ORCPT + 99 others); Sat, 15 Apr 2023 06:12:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbjDOKMD (ORCPT ); Sat, 15 Apr 2023 06:12:03 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2E352D4A; Sat, 15 Apr 2023 03:12:01 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Pz8CV1cCLz17SYJ; Sat, 15 Apr 2023 18:08:22 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 15 Apr 2023 18:11:59 +0800 From: Gaosheng Cui To: , CC: , , , Subject: [PATCH 5.10 3/4] crypto: api - Export crypto_boot_test_finished Date: Sat, 15 Apr 2023 18:11:57 +0800 Message-ID: <20230415101158.1648486-4-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230415101158.1648486-1-cuigaosheng1@huawei.com> References: <20230415101158.1648486-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Herbert Xu We need to export crypto_boot_test_finished in case api.c is built-in while algapi.c is built as a module. Fixes: adad556efcdd ("crypto: api - Fix built-in testing dependency failures") Reported-by: Stephen Rothwell Signed-off-by: Herbert Xu Tested-by: Stephen Rothwell # ppc32 build Signed-off-by: Gaosheng Cui --- crypto/api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/api.c b/crypto/api.c index 0e7a255252ca..7ddfe946dd56 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -32,6 +32,7 @@ BLOCKING_NOTIFIER_HEAD(crypto_chain); EXPORT_SYMBOL_GPL(crypto_chain); DEFINE_STATIC_KEY_FALSE(crypto_boot_test_finished); +EXPORT_SYMBOL_GPL(crypto_boot_test_finished); static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg); -- 2.25.1