Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp149218pxu; Wed, 14 Oct 2020 23:35:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyumU7SFxWaZaDPECVlmvjtMSrMbAzsG9rK0LTsvXULGIdgszJEEu+h1KBFimzr26hgV/Vc X-Received: by 2002:a17:907:94cb:: with SMTP id dn11mr2961611ejc.326.1602743739895; Wed, 14 Oct 2020 23:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602743739; cv=none; d=google.com; s=arc-20160816; b=Puz+KYD0UfO7x6LVVrBYcueRRWEFjs492ed/x6iEjNGNR6xlNVsd6Q5CFDAftYH/u3 vAYdQZ1LXJD1Z6k62aF85TqLV7zH8xz/sJt941MPb2DAFg8X8dZiJOKThbn5Z3/4bPT6 99J1mlgjOIwTgZdxI6OEWZN8fmCiOQqdJmtd4+9qftilWewvmIPK01d1APXUAp2TR1NV g58Mn3tQdKsTBM/Em90jEmjSfNSn/Em+A8OdNglBnDPF3wqWCuHjeqMhsBp0zpeEHwgK PAGJkybXLixw3N0h2qJh7/sbV/Roxkj5qnmCz14jVQVg/B6jP79icKeHDjc86iSKMD68 uw2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dkim-filter; bh=3jHeHiA73ap0pH0ww7BzEsiMeOz5lYnnDQNHitGE/bo=; b=BblhYdw3QLvpKKmfHr8fMPKWRzYrMl/URYSaj9GBRcwRK6+lte4xlLqGPqZT9E5ASh 5tIFOnmFcF71iW1xIDpvLxZx3VgqJi9DIGdQOFO5yT3HDzytypSRCeWO5SKORco562jY +3FmOFKAPaz64iVq6KmIrmaYTQONFzJMmhyOYUAg4L8lg7oI8zI5K8NGhwCqyBFLD71V gqMwxdE4+FkpvcF07PRS1Qu34+dWIqAGEssW64zsPidgstXe65/RCdSmyR4AdDBp8ZrA XnY04biKH/rrMudi1HKwtM/3viB3egvXhFr3pwbgBW1AiYI8S2FrEc9Qz4YzaxVnPpZ7 hgVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=omprussia.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si1271295edw.591.2020.10.14.23.35.17; Wed, 14 Oct 2020 23:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=omprussia.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726772AbgJNTon (ORCPT + 99 others); Wed, 14 Oct 2020 15:44:43 -0400 Received: from mxout03.lancloud.ru ([89.108.73.187]:44640 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbgJNTon (ORCPT ); Wed, 14 Oct 2020 15:44:43 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru 32665206E42A Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH 0/2] module: some refactoring in module_sig_check() To: Joe Perches , Jessica Yu , References: <789a4e5c-8efd-bb1c-86e2-eed8b2b7b0af@omprussia.ru> <3897a8ce5760affa304952c2d30c1266589407f2.camel@perches.com> From: Sergey Shtylyov Organization: Open Mobile Platform, LLC Message-ID: Date: Wed, 14 Oct 2020 22:44:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [213.87.151.133] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1908.lancloud.ru (fd00:f066::208) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/14/20 11:35 AM, Joe Perches wrote: [...] >>>> Here are 2 patches against the 'modules-next' branch of Jessica Yu's 'linux.git' repo. >>>> I'm doing some little refactoring in module_sig_check()... >>>> >>>> [1/2] module: merge repetitive strings in module_sig_check() >>>> [2/2] module: unindent comments in module_sig_check() >>> >>> I think this code is rather cryptic and could be made clearer. >>> >>> How about: >>> --- >>> kernel/module.c | 51 ++++++++++++++++++++++++++------------------------- >>> 1 file changed, 26 insertions(+), 25 deletions(-) >> >> Looks good. Do you want to post complete patch(es)? :-) > > I don't like posting actual patches on top of other people. > It's a complete and compilable diff, it's just unsigned. It does too many things simultaneously, I'll need to decompose it... > If you want a Signed-off-by: here's one: > > Signed-off-by: Joe Perches I think I'll rather use Suggested-by: where appropriate... MBR, Sergei