Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp325011pxu; Thu, 15 Oct 2020 05:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycw69dxPHHl1+P3+86AHI7KUKFvHDqnAEibdztoZ5zbAmq+uHkjDN7/stG+xdLIlIrtMds X-Received: by 2002:a2e:92d5:: with SMTP id k21mr1100871ljh.258.1602763580603; Thu, 15 Oct 2020 05:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602763580; cv=none; d=google.com; s=arc-20160816; b=t1AmuQQjIp/r87XJXNgeD7XPPyiRcEmgstT8QGPaPXdUBu0qyF0g2FFAJ9mZW1jAyY 9Ig5faKRe7xYgA9nSo9bfUG+C9tD+jSehcmkCZ2MVikwmg15jpxJvGxpk5DskwG0vjwA AssNU+ejoBbD22zoAI6OkiEUIfwSD/XHnouPG3QfMd6HeSob+EdV4Zw4HJGvWemd+HOl otggoISfs6UZWHAGxKn9eIrgO/10+OQcc7QDyYnajkpvvZc/ejn0r4aEYwQHLHG5G0wy XKQM5GX9LQXP73K2WEBqvah8LPppC8UGIvg2JZDQVYvhDbd4SeeNPTwyd/jnlEh2KJ6G /IbQ== 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 :message-id:date:subject:cc:to:from; bh=5/itfOvVLBlF3rdoCWasD47q59EWhb1xQJChUdG6x3U=; b=sL7ednNOzU9Z+qNgL/cj1g1/tx0GDq5kA7G62Epn8AQlIORp9gISiEULO8Xwb/b1oE dAHHzIGrzHo+PnyWFmEq0dmfzVXm8hKad1PyZIYVqI/Ad3nbQpqN0q+Ogs/iMDjmOINm 19FIEiySPW4DDT5Bs28wVjNR/FAlUf4zdOqt3Hrfy2hG+qnqWKDKTsoYRH52DHy6GgzA 5V8YlqaLX40ikQJNXIUv6sMfkb1zkcROwUmanBQvwgzXIJKb8soGwQWqajabGGGBLV+i R0fY2YNFROxOJJjnirRrh8PDFdrMznh4PzziOWPl3wJA5mdfIBo83v3uUaj7jHbHpZvt PQEg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si2174209ejf.525.2020.10.15.05.05.42; Thu, 15 Oct 2020 05:06:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728142AbgJOLCo (ORCPT + 99 others); Thu, 15 Oct 2020 07:02:44 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:50452 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgJOLCo (ORCPT ); Thu, 15 Oct 2020 07:02:44 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UC69Kcq_1602759761; Received: from localhost(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0UC69Kcq_1602759761) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Oct 2020 19:02:42 +0800 From: Tianjia Zhang To: Herbert Xu , "David S. Miller" , Vitaly Chikunov , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tianjia Zhang Subject: [PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init Date: Thu, 15 Oct 2020 19:02:41 +0800 Message-Id: <20201015110241.89676-1-tianjia.zhang@linux.alibaba.com> X-Mailer: git-send-email 2.19.1.3.ge56e4f7 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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. Cc: Vitaly Chikunov Signed-off-by: Tianjia Zhang --- crypto/ecrdsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ecrdsa.c b/crypto/ecrdsa.c index 6a3fd09057d0..ca9a34356f80 100644 --- a/crypto/ecrdsa.c +++ b/crypto/ecrdsa.c @@ -288,7 +288,7 @@ static void __exit ecrdsa_mod_fini(void) crypto_unregister_akcipher(&ecrdsa_alg); } -module_init(ecrdsa_mod_init); +subsys_initcall(ecrdsa_mod_init); module_exit(ecrdsa_mod_fini); MODULE_LICENSE("GPL"); -- 2.19.1.3.ge56e4f7