Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp343798pxu; Thu, 15 Oct 2020 05:34:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsB5f9Ylj52AI1tn6pffLYLC0PQmKB2EHRwhJTUml/oWboYlPS6z481FIo/j6zDw0v4M37 X-Received: by 2002:a17:906:453:: with SMTP id e19mr4343546eja.391.1602765240875; Thu, 15 Oct 2020 05:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602765240; cv=none; d=google.com; s=arc-20160816; b=jWmi1Gvf6gWNGbojMV/5b/wMaYmrjBRx9lEMOGQnRIj79X75MzX+NjbuTPlHybuzfd xcUccYnyTI9gfWTTlFNcyLOzCHrjQtCNFOmcH4/syJ5s63yxjKyskU6a2CVW7rMIaIzv 99dz/U0NVfo9411RETEHDz1+/+L5U0xsCmvf4Tb4P0gprbVogMIfQn0RezQYnUpenbKb 5WIVhhksrUiof1MixuP1Uf8++olp+K1I32lDP2CkYmFgNGBKyHJ4RsYA+2D9IF/PtXSF y6OzY9Y7DoysQLBMDJG6ff+xnNqPEHrclU3vrlqEQ0vPYAZenHyjkMdSi9Rlah6Feu3U YiEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=KbMBZ0DdKM7tQMbRJPC38mxx/TNK/HuAJrjt5NbVfSg=; b=zW0knQctfEPLXgE7eQT47HvZq2QxY/RdrVh+OMgm1HE9PhQPhswmdVhA8v4UdyEpcT n0sJVufY1AJFBHvL4nPcI9PG3wAQDys0TNyV98dvlOKvqP28eW92nkJWmY7R6aczlbTG 0bi8mbXF1l8lccOuadQ8IPlEDWSQwnSQhuEJ6zg1nZiTSv3j7fSrvhhGxC+YWlx28bX6 Ae3jBQWzd89E2akF0Jyw4/kM3rUjrJmURT9kXPrJV1M0LRKR0xhamZVaEtWi9oAlAi/i HH1C/a1ovYEvYcU/1D3p7VZR4v2bU6OQZa1F253HsT0yLtBHFRZ+vaPFNgI/FBYgJw1t Rfew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si2019011eje.645.2020.10.15.05.33.32; Thu, 15 Oct 2020 05:34:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbgJOMFQ (ORCPT + 99 others); Thu, 15 Oct 2020 08:05:16 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:45404 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727139AbgJOMFQ (ORCPT ); Thu, 15 Oct 2020 08:05:16 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kT20H-00032D-2t; Thu, 15 Oct 2020 23:05:06 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 15 Oct 2020 23:05:05 +1100 Date: Thu, 15 Oct 2020 23:05:05 +1100 From: Herbert Xu To: Tianjia Zhang Cc: "David S. Miller" , Vitaly Chikunov , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init Message-ID: <20201015120504.GA12976@gondor.apana.org.au> References: <20201015110241.89676-1-tianjia.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201015110241.89676-1-tianjia.zhang@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Oct 15, 2020 at 07:02:41PM +0800, Tianjia Zhang wrote: > All templates and generic algorithms have been registered in > subsys_initcall instead of module_init. The ecrdsa algorithm > happened to be missed. Here is a fix for it. That is true only if there are non-generic implementations of the algorithms, which is not the case here. Please explain the real reason why this is needed. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt