Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2686175pxp; Tue, 22 Mar 2022 04:07:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzC3Z1G65mt9an9Mti2Iy4s1XPBlgpAD5yG53SzA4Z+uDPKGLNmGqyAh77ih+La9e6i/ZO X-Received: by 2002:a17:902:ec89:b0:153:f480:5089 with SMTP id x9-20020a170902ec8900b00153f4805089mr17179885plg.166.1647947274689; Tue, 22 Mar 2022 04:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647947274; cv=none; d=google.com; s=arc-20160816; b=SkZNLchDMiT1TXOMDRgbLqE0iUzTEi5RlRRknbJWANF5blM3X5ncyWK4xtLwNaI8To cYseZ/fswp8x5aY5A8G+nGRfIgQJK5jrYSaJFH2VVgS7+BvkRE0xTmRrXBy3MRqtB5Sw K+Wlr9YgcaGDoiwDnXLyl0+3142Dp5B2h1SKcZ7RGzoTggpxiyKYWt09Y/iQqKWPBU59 Ac7m6bE5wPuxw5VqGICHbmfUplaDrc0ccl1SG1uAWaYryktvPxJexgp/AgsMkYsRFl+R zoiWS5/DFyQBH2ZiHTGU5WR1y2GkRbqaSHwnS9h6uBo2qfJ3ZEcWH1B1AxQEDY2B8ybT p0bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=eCNjhUcN8LA9hjo/bBYWTrD+ZJym5cvpxDnkzPUsV+c=; b=W8xV2skMGaVZhVqtRYp2gOGjxdnxelt3GiZSojdElXPxf7RzHuUeEzw7OicSwRFEwt 2eeflGze23ECgikgMP/o+DfgZBiwpNUJEP5GwLm2HxhLCzBJ1OEqj3RRs+uAVDHXrz/f 4a2Ui8xfQ3Bdh4/XRDlr2UnXuE6rQV3ecaqh4CHHSBKYm+UUcZIBLY4GzG9HmhNYjspB RQzVF1nYZvK31vs1qIqBcufSopljuCBtpGPi3gMhFgA6RAllVuqBrMB96CbxXdvUmKib GvbY6NZVcLl3Lw3YRg2YX/kk90IgHi6pOgA9zweX2W7e5DJVdnkab7kQkpiDbLroorkr FCww== 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 hk9-20020a17090b224900b001c7249774fesi2247677pjb.120.2022.03.22.04.07.31; Tue, 22 Mar 2022 04:07:54 -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 S233673AbiCVKzZ (ORCPT + 99 others); Tue, 22 Mar 2022 06:55:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232944AbiCVKzY (ORCPT ); Tue, 22 Mar 2022 06:55:24 -0400 Received: from smtp-bc0b.mail.infomaniak.ch (smtp-bc0b.mail.infomaniak.ch [IPv6:2001:1600:3:17::bc0b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 626827642 for ; Tue, 22 Mar 2022 03:53:57 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4KN7dY5r4xzMqKr0; Tue, 22 Mar 2022 11:53:53 +0100 (CET) Received: from ns3096276.ip-94-23-54.eu (unknown [23.97.221.149]) by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4KN7dY0vhzzlj4cP; Tue, 22 Mar 2022 11:53:53 +0100 (CET) Message-ID: Date: Tue, 22 Mar 2022 11:54:59 +0100 MIME-Version: 1.0 User-Agent: Content-Language: en-US To: Jarkko Sakkinen , Paul Moore Cc: David Howells , "David S . Miller" , David Woodhouse , Eric Snowberg , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= References: <20220321174548.510516-1-mic@digikod.net> <20220321174548.510516-2-mic@digikod.net> From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= Subject: Re: [PATCH v1 1/1] certs: Explain the rational to call panic() In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 22/03/2022 00:53, Jarkko Sakkinen wrote: > On Mon, Mar 21, 2022 at 02:23:54PM -0400, Paul Moore wrote: >> On Mon, Mar 21, 2022 at 1:45 PM Mickaël Salaün wrote: >>> >>> From: Mickaël Salaün >>> >>> The blacklist_init() function calls panic() for memory allocation >>> errors. This change documents the reason why we don't return -ENODEV. >>> >>> Suggested-by: Paul Moore [1] >>> Requested-by: Jarkko Sakkinen [1] >>> Link: https://lore.kernel.org/r/YjeW2r6Wv55Du0bJ@iki.fi [1] >>> Signed-off-by: Mickaël Salaün >>> Link: https://lore.kernel.org/r/20220321174548.510516-2-mic@digikod.net >>> --- >>> certs/blacklist.c | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >> >> I would suggest changing the second sentence as shown below, but >> otherwise it looks good to me. >> >> Reviewed-by: Paul Moore > > Reviewed-by: Jarkko Sakkinen > > Mickaël, I think since your patch set was not huge in the first place, I'm > considering making it part of rc2 pull request while I normally try to > avoid any features after rc1. It's anyway throughly tested, and generally > has been around for a *long time*. I've even tested it myself a few times. > > Just trying to be responsible as a maintainer and if something does not > feel right, I don't try to pretend that "I get it", if you know what > I mean. This fully clarifies "not getting it" part :-) > > Thanks! Thanks Jarkko, I get it. ;)