2022-03-22 00:31:19

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] certs: Explain the rational to call panic()

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 <[email protected]> wrote:
> >
> > From: Micka?l Sala?n <[email protected]>
> >
> > 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 <[email protected]> [1]
> > Requested-by: Jarkko Sakkinen <[email protected]> [1]
> > Link: https://lore.kernel.org/r/[email protected] [1]
> > Signed-off-by: Micka?l Sala?n <[email protected]>
> > Link: https://lore.kernel.org/r/[email protected]
> > ---
> > 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 <[email protected]>

Reviewed-by: Jarkko Sakkinen <[email protected]>

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!

BR, Jarkko


2022-03-22 11:07:54

by Mickaël Salaün

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] certs: Explain the rational to call panic()


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 <[email protected]> wrote:
>>>
>>> From: Mickaël Salaün <[email protected]>
>>>
>>> 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 <[email protected]> [1]
>>> Requested-by: Jarkko Sakkinen <[email protected]> [1]
>>> Link: https://lore.kernel.org/r/[email protected] [1]
>>> Signed-off-by: Mickaël Salaün <[email protected]>
>>> Link: https://lore.kernel.org/r/[email protected]
>>> ---
>>> 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 <[email protected]>
>
> Reviewed-by: Jarkko Sakkinen <[email protected]>
>
> 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. ;)