Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp377532rwe; Thu, 25 Aug 2022 01:52:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR5bUFCCqNWRfQUZbtw097h6kC6tmBty6fVb1jPAZK+SPhdm1ct4ttwVI5in4XRqQ8Cyi4sw X-Received: by 2002:a05:6402:4313:b0:446:ffc0:50b5 with SMTP id m19-20020a056402431300b00446ffc050b5mr2230353edc.153.1661417524631; Thu, 25 Aug 2022 01:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661417524; cv=none; d=google.com; s=arc-20160816; b=rSyjGpuwnidwkrJF3jXUflTUT4O3v30TC/gqQq6bcUAuafdPF0IvaVh8TvS7l1JhRO Dgi/gOTP5py32MgM3oa8aLBkTeT7JaFpz1c7FjJczKBQF3qXWSqrwS2PrklOfK9dfSK6 xh/JYXHopx8iTILibANy8Xr3jmiRuknjtc7U1sTW4McRw99EKWVOnkD1GXFCVdmyGtMz JU+Y9K7JFpA3ZYgjFKevbVy0R8YezgY80Um1FjXkCLCh+BHJq9vMvONedavFUj7SC58X SLB+QHpT/TmlJfIj2W+Zo0jXWMqKVi9f7e5puAUAwFOyGWjlh/p1UzwQ0pqAy3Lv3C+0 58HQ== 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=6AxGEMkZJ7iGJs0VjdXNl6Mxh0/Vv7YN9iQ6PLcLABM=; b=vAgO5n4p9L53xEoSCHAEYDvbqkwxRLtf4M46phLirAwQHTQ3P6vxcJVVhhDM5h1aQk PzkhEZrJdqnrYdOPSCFQQKkwipHTlju0ZqoZUlSr+b8n+4ihnTJtOYK9zmU0TsYPqNBt lYYX0/ZtXTkH1AMv+xo50I6ZMlzwUB8tH7JuoTTPYlBkmK7TUcFNOXwFA6QQZFqVEYIH aGWneDT3jM/aT9UnDGSm1aAlewmd40xQpr9vibzcahRFZftDsreCXDU1WZE7G+mj1hWQ QWVSBu9xS95x+uPCCuNqKanL/+KYq4mOoG4J0TdQbrxCVM25TdP6qamMubKq5WHoW16e AE3g== 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 u20-20020a50c054000000b0043defd3ed96si5510592edd.237.2022.08.25.01.51.38; Thu, 25 Aug 2022 01:52:04 -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 S237202AbiHYIu6 (ORCPT + 99 others); Thu, 25 Aug 2022 04:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236548AbiHYIu4 (ORCPT ); Thu, 25 Aug 2022 04:50:56 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEAE3A8306; Thu, 25 Aug 2022 01:50:53 -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 1oR8Zc-00Exmc-5d; Thu, 25 Aug 2022 18:50:49 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 25 Aug 2022 16:50:48 +0800 Date: Thu, 25 Aug 2022 16:50:48 +0800 From: Herbert Xu To: Gaosheng Cui Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next 2/2] crypto: crc32c - add missing Kconfig option select Message-ID: References: <20220825084138.1881954-1-cuigaosheng1@huawei.com> <20220825084138.1881954-3-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825084138.1881954-3-cuigaosheng1@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Thu, Aug 25, 2022 at 04:41:38PM +0800, Gaosheng Cui wrote: > The CRYPTO_CRC32C is using functions provided by CRYPTO_MANAGER, > otherwise the following error will occur: > > EXT4-fs (mmcblk0): Cannot load crc32c driver. > > So select CRYPTO_MANAGER when enable CRYPTO_CRC32C. > > Signed-off-by: Gaosheng Cui > --- > crypto/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/crypto/Kconfig b/crypto/Kconfig > index b1ccf873779d..7f124604323b 100644 > --- a/crypto/Kconfig > +++ b/crypto/Kconfig > @@ -641,6 +641,7 @@ config CRYPTO_CRC32C > tristate "CRC32c CRC algorithm" > select CRYPTO_HASH > select CRC32 > + select CRYPTO_MANAGER > help > Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used > by iSCSI for header and data digests and by others. Why exactly does it need CRYPTO_MANAGER? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt