Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3892244rwb; Mon, 5 Sep 2022 21:55:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ZF4UyKcQknrHBJ7VNy8yDuly6pWrjINHTrBGKwq8hzxai6WJAIS6u4+/8lp3panrq+1km X-Received: by 2002:aa7:d853:0:b0:44e:8a89:52f with SMTP id f19-20020aa7d853000000b0044e8a89052fmr6366568eds.293.1662440116763; Mon, 05 Sep 2022 21:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662440116; cv=none; d=google.com; s=arc-20160816; b=lPKRH/sRviR3dWjSaiVszLFBxCd4nUuzpiCaiQHMSnTe2xYurTfMdV7hsVMyb7AB7z TMG2Aj/GUxIVOZyptfyq1IMtLCm/U3tvHN0GNpL79QG+LQF/t9WDwuwLgx/7Qzx1nJdI VDL4AyxMuMDvsxBgccNpKrvywKGGftWhaOdhXlHxmFLqDfCP0GPUrbPBhKyn4cmNshfI yu4TQN9ODtjyWZJeHVm9nvaKkBOzQ5pXZGCiEipI/sScUbZHzuE3VQ/yIwBVX2hm7nhL wS6c9T2NKYhsXx9MC/9ePN7CROsnTOET1drot+YqtGQNRcdhiCLxHvFWv80afnO1zipi lNTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Blv2ST8Cy6GzO9xtjJ2F+UQNkcRA3FKFBvBVMay9+k4=; b=KI7IyciUBPyvAU2LlDWRRzTsQ+mm34oY9pMiwyJ4npC9lgoy34R2e+p6oo6hGS4N+b PfA+/XJJaCPYVrpQ4r567e1xp2zCMK19AihV8jvrDSbNHZHSrA5RWUwh+YdQtvPD/d15 xeD1Jqv4+1OvRVuRE39ldKcJic2aiijLZNNrse6sxAe+T8VrHgrKg1uCcxf3C+miDKd6 dLFK597m93ZUPU3QbwBxYtnQG8mY0R0/p/wKZvPqEf+2sN3Lpl4HmZux+527M2BDHDef /DHJZV99AYKsDT9uOBp+E4UnZhvrvJcmJrJKTM6xwy/tQ1UYSfYsv5IOmepiBq04Uv/9 RCzQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a50d643000000b00448375a5890si8344037edj.393.2022.09.05.21.54.42; Mon, 05 Sep 2022 21:55:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232329AbiIFExq (ORCPT + 99 others); Tue, 6 Sep 2022 00:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232211AbiIFExp (ORCPT ); Tue, 6 Sep 2022 00:53:45 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F25472A257; Mon, 5 Sep 2022 21:53:41 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oVQaN-001Phz-S2; Tue, 06 Sep 2022 14:53:20 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Tue, 06 Sep 2022 12:53:19 +0800 Date: Tue, 6 Sep 2022 12:53:19 +0800 From: Herbert Xu To: Neal Liu Cc: "David S . Miller" , Joel Stanley , Andrew Jeffery , linux-aspeed@lists.ozlabs.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, BMC-SW@aspeedtech.com, kernel test robot , Sudip Mukherjee Subject: Re: [PATCH v2] crypto: aspeed: fix build module error Message-ID: References: <20220905025433.1610696-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905025433.1610696-1-neal_liu@aspeedtech.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, Sep 05, 2022 at 10:54:33AM +0800, Neal Liu wrote: > If CONFIG_MODULES=y and CONFIG_CRYPTO_DEV_ASPEED=m, > build modpost would be failed. > > Error messages: > ERROR: modpost: "aspeed_register_hace_hash_algs" > [drivers/crypto/aspeed/aspeed_crypto.ko] undefined! > ERROR: modpost: "aspeed_unregister_hace_hash_algs" > [drivers/crypto/aspeed/aspeed_crypto.ko] undefined! > > Change build sequence to fix this. > > Reported-by: kernel test robot > Signed-off-by: Neal Liu > Tested-by: Sudip Mukherjee > --- > v2: Remove redundant obj- lines. > > drivers/crypto/aspeed/Makefile | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt