Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1520626rwb; Fri, 18 Nov 2022 21:23:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf6PSwaqEleuVG4oUW5nvd2vwyvyFGxt8asP5xtJwKowR1XMHSJFLJicC6jGZ498zq+epUCK X-Received: by 2002:a17:906:5db2:b0:7ae:d58b:30f8 with SMTP id n18-20020a1709065db200b007aed58b30f8mr8119576ejv.564.1668835392613; Fri, 18 Nov 2022 21:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668835392; cv=none; d=google.com; s=arc-20160816; b=sfI4ytUPq2Uz3mfIVdrKSNN9Wdi4sr88LkakcsSWpUliBrBeU1ocVUa/Vl5hSPklcp v0jT5rXtVmCalaGI21VZedzFe4Ed83v7iLxc1kdge6REuUphbrnyi1/+JfM7Q5RX8JwK hYUhCnsZkknOjNflSYYZ7wVCZbPYsNjAeskj8Ytcea4j0jSJV9/OvaOFRhu4592azKhG QCpVTYNozc6TCE0NVuoMJ06Lrn5M8d7Esv3FF3yVxbvJU0aOc7Uu7k4eoL6C/EjNmVwa 5uJ54YFbfRhdPyRT79zjKHKsJJyStwK2RjhZ7KYp7Nz4J3T2FdaI7Oi04a+ERQmKCfYO UI6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=IRBeeSB7cystDi4fsOoKgrYpOXU5NP1yC6LBY6iDY3o=; b=bw+ic9lNCyUPCUIRwIUOqGSrA3t9K2kVz4/tMOZP9JOAomlwqGUeoMxOnXSAWUhb1h y6IgBvPOx3vmoCrrUraicNouc6RaVr4ngmN/SwBoSk/vm2af7FrYTWTOXML6oM4y3Qm8 5JYsiL0Q/oj2JeE/ypPn4Dtq2jfucqfUKHjU+MgKYBKy/IsHykpxXIZLoFwJhBraafsM /rswjmyM4XEAnm2ajTdm3g5wXaEjaVXg/jrqE394Yy0ZTVqwSe83dqA8IIRxZN1+gqBf 6nRDa4a6KsyeTXi4gi2L/pb/13sarZR8Knz1nEK1YgwLLllR2a+gIttWzd8gRhuqqwti +EMg== 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 t1-20020a056402240100b004676b7d42d7si4376996eda.243.2022.11.18.21.22.39; Fri, 18 Nov 2022 21:23:12 -0800 (PST) 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 S231831AbiKSFU1 (ORCPT + 99 others); Sat, 19 Nov 2022 00:20:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbiKSFUZ (ORCPT ); Sat, 19 Nov 2022 00:20:25 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C11C8DA78; Fri, 18 Nov 2022 21:20:25 -0800 (PST) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4NDhjM6ZM4zFqPy; Sat, 19 Nov 2022 13:17:11 +0800 (CST) Received: from [10.67.109.51] (10.67.109.51) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 19 Nov 2022 13:20:23 +0800 Message-ID: <225f716c-83af-2534-0c58-20b6d28acdc1@huawei.com> Date: Sat, 19 Nov 2022 13:20:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH] KEYS: asymmetric: Fix build errors as symbol undefined To: , , , CC: , , , , References: <20221115100512.20147-1-hucool.lihua@huawei.com> From: "Lihua (lihua, ran)" In-Reply-To: <20221115100512.20147-1-hucool.lihua@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.109.51] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 ping 在 2022/11/15 18:05, Li Hua 写道: > pkcs7_supply_detached_data is called by x509_key_parser module, but not exported: > ERROR: modpost: "pkcs7_supply_detached_data" [crypto/asymmetric_keys/x509_key_parser.ko] undefined! > > Fixes: cfc411e7fff3 ("Move certificate handling to its own directory") > Signed-off-by: Li Hua > --- > crypto/asymmetric_keys/pkcs7_verify.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/crypto/asymmetric_keys/pkcs7_verify.c b/crypto/asymmetric_keys/pkcs7_verify.c > index f6321c785714..4fa769c4bcdb 100644 > --- a/crypto/asymmetric_keys/pkcs7_verify.c > +++ b/crypto/asymmetric_keys/pkcs7_verify.c > @@ -485,3 +485,4 @@ int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7, > pkcs7->data_len = datalen; > return 0; > } > +EXPORT_SYMBOL_GPL(pkcs7_supply_detached_data); >