Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2244521pxx; Sat, 31 Oct 2020 13:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkl35d67NBkbUrbLtrcoeSAzuYipa945yz2PWaWRp6ZEQpkFF4PPDRa9nc8ETIVQHmk+dF X-Received: by 2002:a17:906:3789:: with SMTP id n9mr8520691ejc.273.1604174841693; Sat, 31 Oct 2020 13:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604174841; cv=none; d=google.com; s=arc-20160816; b=le8H1ryE5o2oCzX6w5pyuSgFL0SSkSFTRMCLKR1hEAA6EXnf/6ZZGQW6TazY8v0RFT C4w7d+bVHq83hGq+gsv27ZH/YGH+MrsfOco2DM4VHV5r6hMqaIjnE7lTlj11N/r2zE1q /3YEca2R7Gs7R8/E7fbEDuEFDRfUZT8jHYNo4o6+Mt9agkGOfUOx5OAtEQvvmHjrdT76 /zIT0n8GvMHckwoeYN1Mw1G02wZEP6Js6UxGeS8daSMQvn8GO79WAtssHB6G9qR2Gjrk nwEq7SJChHR0xganQ2KCXGn04oGzPoyp1w4QR3jvAkgZdaIYAMVSyB6u/m5NSXCYlk3B 5Jxg== 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 :mime-version:user-agent:date:message-id:cc:organization:to:subject :from:dkim-filter; bh=n926AAwwqLCP5Y1JAc2Mtr4ZB3tlShn0W4xADxHakGo=; b=xiCos3zizRG4APQw4S4zC65q0jHpfh9KgYVTndSxISbPeqk98cuYxY/F1AtNiTeU01 KCGe6v1jkxWx6SFHSigb2pc7VAvNV9fHHdR419Vqc5FankbVPoNo56gEmA5rXU/lOnDd Ljq7TI1taXgdraNG2LT4HsI8btjrlq5jUWuF1zXKqrGPigFBaoq1IsKKVuTwUl0jHRca EdZmFkd5Mib8PJMtlZIsIX4MEb38oMFzTD3Us4BlhOLMQI6zpe0r48zvs2FS9sV8WRgc x40oIBLB2T27n6pP4dA+zdSEzCVVRa2sLGb0Q7uNKn+WH97/6N1JBO8rl8AS/eMX5i+8 Jjww== 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 h12si7849280edr.102.2020.10.31.13.06.59; Sat, 31 Oct 2020 13:07:21 -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 S1728543AbgJaUFd (ORCPT + 99 others); Sat, 31 Oct 2020 16:05:33 -0400 Received: from mxout03.lancloud.ru ([89.108.73.187]:52772 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728451AbgJaUFd (ORCPT ); Sat, 31 Oct 2020 16:05:33 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru 2AF34200DF11 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Sergey Shtylyov Subject: [PATCH v2 0/3] module: refactor module_sig_check() To: Jessica Yu , Organization: Open Mobile Platform, LLC CC: Joe Perches Message-ID: <22e48a3d-06ee-5b8e-6e56-3694871a7c2f@omprussia.ru> Date: Sat, 31 Oct 2020 23:05:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [213.87.129.247] 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 Here are 3 patches against the 'modules-next' branch of Jessica Yu's 'linux.git' repo. I'm doing some refactoring in module_sig_check()... [1/3] module: merge repetitive strings in module_sig_check() [2/3] module: avoid *goto*s in module_sig_check() [3/3] module: only handle errors with the *switch* statement in module_sig_check()