Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1542620imu; Thu, 13 Dec 2018 17:49:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/UOfoLDI/xuDto/xyvDpRnJ6jajw3kxuqKIlvDk7rM4dAaw0+tZI1gRQVaoDPlwLpZYcAHb X-Received: by 2002:a63:2744:: with SMTP id n65mr1011307pgn.65.1544752153268; Thu, 13 Dec 2018 17:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544752153; cv=none; d=google.com; s=arc-20160816; b=jYkyM47Y1itkAnG75VG+yyYwf2bx6I2YGetxYWFs419RwoEFRooiiufi1MxT95bLnt x3VYC43tTbOoMiIRukzrz7tr3ym3EMV1rFfcB5Fmc7aP5swIj9HY7AHImH8ViSyIm0VL g9CQ28YQ0id330A0IHs3QFi5E+wqrObx+kBVaYg0i/ev3R7UNX64t0t2Dv0Noek0dm0m /JRiUSr/JQPZAmefYV+K53NVDTgmEwXwHatqN1T+BCuQ6GHTVkd8hF4dMutGYvgU7160 vPcR1blPGJDbxBr01A4qHqrO9KalQRQcy7wSzZqo/CIOEU3r8kmQXlvVQvn5E6HYcISh X+Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=YcpgCL0RlTkT2DcvtHmz8Qw0S1ZmIGiod2poZVnUbnA=; b=ZWX9rZlsCf3wDiZ3DaG1i8WbuuDYgr48I66qh163AgfzVUg4OhjwCxItSp0gos9b3S RnPwBCd6hQnfVRLHjT1wEVzHHaREZ67p780NkgfaR1PkyfKpRi1b1yGadhFwxQtgtjQ6 DIvGWHhAuQF809LZZDdD6X88Jn0D3att6JyiFCkjPhq0zE0MvG9hqALeZwG9PDCnXPmk F5pK8YG74ctSjdK8+43jpn3/z9ozOleY/uDaPj0QVY+gpuVWMcw7zcXoyspnq6eEHI8z eAkwQarnqq+nRdIniNTYXLjnRlxWuOEfPC0ShFIiCL867wcfKI+0F8jV5hqQ1MazNoV3 tYBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si2793580pgq.197.2018.12.13.17.48.58; Thu, 13 Dec 2018 17:49:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728779AbeLNBrb (ORCPT + 99 others); Thu, 13 Dec 2018 20:47:31 -0500 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:37745 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728203AbeLNBrb (ORCPT ); Thu, 13 Dec 2018 20:47:31 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07791651|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e01534;MF=liaoweixiong@allwinnertech.com;NM=1;PH=DS;RN=3;RT=3;SR=0;TI=SMTPD_---.DX8CvOb_1544752047; Received: from 172.16.10.102(mailfrom:liaoweixiong@allwinnertech.com fp:SMTPD_---.DX8CvOb_1544752047) by smtp.aliyun-inc.com(10.147.42.22); Fri, 14 Dec 2018 09:47:27 +0800 Subject: Re: [PATCH] pstore: fix crypto dependencies of 842/zstd compression To: gmpy.liaowx@gmail.com Cc: Tony Luck , LKML References: <1544603038-9373-1-git-send-email-liaoweixiong@allwinnertech.com> From: =?UTF-8?B?5buW5aiB6ZuE?= Message-ID: <653367a2-3aae-4b76-8375-186833d34277@allwinnertech.com> Date: Fri, 14 Dec 2018 09:47:28 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2018年12月13日 02:43, Kees Cook 写道: > On Wed, Dec 12, 2018 at 12:24 AM liaoweixiong > wrote: >> >> Reference to commit 58eb5b670747 ("pstore: fix crypto dependencies"), >> which fixed crypto dependencies of deflate, lzo, lz4 and lz4hc >> compression, but omitted 842 and newer compression zstd from >> commit 1021bcf44d0e ("pstore: add zstd compression support") >> >> Signed-off-by: liaoweixiong > > Were you seeing build or config failures without this patch? > testsdfsdf > -Kees > >> --- >> fs/pstore/Kconfig | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig >> index 0d19d19..7068f45 100644 >> --- a/fs/pstore/Kconfig >> +++ b/fs/pstore/Kconfig >> @@ -44,14 +44,14 @@ config PSTORE_LZ4HC_COMPRESS >> This option enables LZ4HC (high compression) mode algorithm. >> >> config PSTORE_842_COMPRESS >> - bool "842 compression" >> + tristate "842 compression" >> depends on PSTORE >> select CRYPTO_842 >> help >> This option enables 842 compression algorithm support. >> >> config PSTORE_ZSTD_COMPRESS >> - bool "zstd compression" >> + tristate "zstd compression" >> depends on PSTORE >> select CRYPTO_ZSTD >> help >> -- >> 1.9.1 >> > >