Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2533420pxf; Sat, 27 Mar 2021 14:59:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJo/jTIHsz9/ZypOhN2zZflBoa48BJ7vZnTFOoW12wEKEalD+hI1ZjjhzZNZaYH3kz7QHj X-Received: by 2002:a17:906:e119:: with SMTP id gj25mr21757743ejb.509.1616882379293; Sat, 27 Mar 2021 14:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616882379; cv=none; d=google.com; s=arc-20160816; b=Cjia8XUYk3kZBHgEz88GOBd8870JF66BP+96t73r+KJQII7E1CiJqG4GLsqIexVept drNdn27gNzJJRie5668ebspxTnwiiV5OZhKRV0kcLrDazGNKRiQcMhlfQ8PYn/tjIQm/ XLAzmw3Dgfq/vOnV6/pwh1ScVX4sRxPL0zl2f4q/Iadil5WKpvw3nzJRGPk/N6vsFnrH eWlAqET7M3/U2wrVCnnm/yGubRFkrJrFsesu3YxX0E32GVGH9Th93yQsB0kN8JSMxu4c PeeeAL6Z/7amXeYNNOYVN39Vz9jTLkTpI7CcJILX5ycOSY1JsOgNyEbVr+LAjlWU3SNJ b3Bg== 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:dkim-signature; bh=H0SDVFh4IivwpMZhwg29PF9BCGg9OFyVJ9dY0fRESwI=; b=hOGau9IOrnU+GY+b6eZ1605f/Px9I+e75QU/Z1rC4AEY0t55A/kjbEs17dNxITY5Ro VxDqS15Uzgvw2emkBLU/Zms3ufsAcvp2LEc5oxvxs1oibDAalDz1pSc3mphm65IkdIPc L2lp+9WC6OwYBfVB18imB+fx5kH1C3oiL5MvSpfl3mDNTwCfaq9oatYRcjK8ZMjvmu7A Oh6LDZETcZKW+SoZKuEZtS2r49lkIGvr/3zGZ6M3JCglzninB54heC2U8Pmrq7bv/Z+0 F4NxyUyNkbAPF+GpBEMYPK4/10NMTmvYiIl9Y+aWqTLb4aq2eFldV4kMQx7hiaGRGG1I RtpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=BL+GUFCB; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fx16si9483190ejb.342.2021.03.27.14.59.03; Sat, 27 Mar 2021 14:59:39 -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; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=BL+GUFCB; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230483AbhC0Vsf (ORCPT + 99 others); Sat, 27 Mar 2021 17:48:35 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:52614 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbhC0VsS (ORCPT ); Sat, 27 Mar 2021 17:48:18 -0400 Received: from localhost (kaktus.kanapka.ml [151.237.229.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id B4B19A0401C; Sat, 27 Mar 2021 22:48:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1616881690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H0SDVFh4IivwpMZhwg29PF9BCGg9OFyVJ9dY0fRESwI=; b=BL+GUFCBXmgH15fMcWEI5fZPb3RtVIZpbw7ravQoctDAuyGRUPeBO/3bYVJlwH0iCzWlfE RnFV/7gSbFNp7IOm1fk1imqr3RP7JpwOMZAvooCrFStqhusNUrghw99i00sKgtt5L8jLjY AeUWNsKKkPDhk2r5p1tVwsa7sLk1b4Q= Date: Sat, 27 Mar 2021 22:48:10 +0100 From: Oleksandr Natalenko To: kernel test robot Cc: Nick Terrell , Herbert Xu , kbuild-all@lists.01.org, linux-crypto@vger.kernel.org, linux-btrfs@vger.kernel.org, squashfs-devel@lists.sourceforge.net, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Kernel Team , Chris Mason , Petr Malat Subject: Re: [PATCH v8 1/3] lib: zstd: Add kernel-specific API Message-ID: <20210327214810.ldijpbr2tnkh2gce@spock.localdomain> References: <20210326191859.1542272-2-nickrterrell@gmail.com> <202103271719.VoxPHugN-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103271719.VoxPHugN-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hello. On Sat, Mar 27, 2021 at 05:48:01PM +0800, kernel test robot wrote: > >> ERROR: modpost: "ZSTD_maxCLevel" [fs/f2fs/f2fs.ko] undefined! Since f2fs can be built as a module, the following correction seems to be needed: ``` diff --git a/lib/zstd/compress/zstd_compress.c b/lib/zstd/compress/zstd_compress.c index 9c998052a0e5..584c92c51169 100644 --- a/lib/zstd/compress/zstd_compress.c +++ b/lib/zstd/compress/zstd_compress.c @@ -4860,6 +4860,7 @@ size_t ZSTD_endStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output) #define ZSTD_MAX_CLEVEL 22 int ZSTD_maxCLevel(void) { return ZSTD_MAX_CLEVEL; } +EXPORT_SYMBOL(ZSTD_maxCLevel); int ZSTD_minCLevel(void) { return (int)-ZSTD_TARGETLENGTH_MAX; } static const ZSTD_compressionParameters ZSTD_defaultCParameters[4][ZSTD_MAX_CLEVEL+1] = { ``` Not sure if the same should be done for `ZSTD_minCLevel()` since I don't see it being used anywhere else. -- Oleksandr Natalenko (post-factum)