Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp491085pxu; Wed, 14 Oct 2020 06:35:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDwCIoJ5kBkpM7n7SRdzsKX5ihUlHC0hCHPp5PJBuuw2xcTA8T4rHWcHqDPD8TAjTWESak X-Received: by 2002:aa7:d28a:: with SMTP id w10mr1355876edq.192.1602682524463; Wed, 14 Oct 2020 06:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602682524; cv=none; d=google.com; s=arc-20160816; b=wv/hdvUPXrnaENC1ykv5euFeVCOk6iJbbJj5qomFLOQSBLyO+pSPUvHvigyG3O2bRY /F9tIebpIMXhBPkfgCliKM7Trjd260eV1fJAftcL8+VsaVXB5DDtgsuJ7KvmaS8cFsJJ MPcmd5fea8Jc63C4XBG2YcrsyiIGsvxXGFdVQwPRpYG5megL1BvcwvTBMLgw+kHFWQu/ HC/V1JzhXDZT26WHdsOqaPc/rRqkH7faFMz1HFpiALG7zQIB/0rwSD/tSqNtSseJ7iBi KVb7jZ8dr7qdfi7erMyNHuO+jcK9t2SIXNMutRIR9yH5LMY2mTTbLHBzCn5bE51poCDY BMmg== 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=XyTnMwdTzdaey8qzCTkTv8SOJN1pvUUEnpGx90wDiRE=; b=ELr9M/LVZa/BdvvY6o2UacnG7gEvhWwOALLzz68oDZ2qfau8C5c6yKv5+mb2IqffvV m/p9khExYGuIQP43qk2dQyiKVhihfLqLJIjPIL7robB48+iTSOv1VXIduUXpdKHQpO3/ GBc94zK/A2EfjT+LovTrm0wUAd2I9Z70td8hc1XoWXGFuMux08IJzKmn3F0nuDq2QRz7 uMW8tg96gyE8JQ3Tnl2SDs/T3cp+GSBu9HI7Vq9efXTkgEyGa0tI/0y5W47Y9Ze+n7LC H0RugY20Sv0w/MszJbjCmzE5SbNhpcW2NnpS9r0vmTZ3bht82h9TwYBg8oi/p+KXx+ri 1QYg== 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 y13si2266083ejc.435.2020.10.14.06.34.59; Wed, 14 Oct 2020 06:35:24 -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 S1728803AbgJNISu (ORCPT + 99 others); Wed, 14 Oct 2020 04:18:50 -0400 Received: from mxout04.lancloud.ru ([89.108.124.63]:55316 "EHLO mxout04.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbgJNISt (ORCPT ); Wed, 14 Oct 2020 04:18:49 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru 8716B2153C07 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 Message-ID: Date: Wed, 14 Oct 2020 11:18:39 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <3897a8ce5760affa304952c2d30c1266589407f2.camel@perches.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [213.87.132.63] 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 Hello! On 14.10.2020 1:44, 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)? :-) [...] MBR, Sergei