Message ID | 20220323230603.47B31C340E9@smtp.kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47CB9C433EF for <linux-mm@archiver.kernel.org>; Wed, 23 Mar 2022 23:06:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D06E06B007E; Wed, 23 Mar 2022 19:06:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CB5C36B0080; Wed, 23 Mar 2022 19:06:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B7E9F6B0081; Wed, 23 Mar 2022 19:06:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id A87B36B007E for <linux-mm@kvack.org>; Wed, 23 Mar 2022 19:06:05 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id 7D33B603FB for <linux-mm@kvack.org>; Wed, 23 Mar 2022 23:06:05 +0000 (UTC) X-FDA: 79277185890.01.40DA7CF Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf24.hostedemail.com (Postfix) with ESMTP id 7B9A1180043 for <linux-mm@kvack.org>; Wed, 23 Mar 2022 23:06:04 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E35BD617EE; Wed, 23 Mar 2022 23:06:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47B31C340E9; Wed, 23 Mar 2022 23:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1648076763; bh=LpUvGqO6zTZezH5GVCSw/IQF4F8xd0thXDv9IcXhyMg=; h=Date:To:From:In-Reply-To:Subject:From; b=lpIm9UDMExd6lxgBAxCqgbup2pPH+mpGGz0YwvpB66wz5zjrQ06Nseg/8D+SH/bRG g1bs2xjrGVkduqKaLZDaoB+52vQrRKhh99nu9bj3M5rd2g0eyYZ75TihbIr6SR+2/I C2HKX9JzY0JYt5aeDFtD7DHe6EQi/VfbUwOIXeEE= Date: Wed, 23 Mar 2022 16:06:02 -0700 To: lukas.bulwahn@gmail.com,dwaipayanray1@gmail.com,joe@perches.com,akpm@linux-foundation.org,patches@lists.linux.dev,linux-mm@kvack.org,mm-commits@vger.kernel.org,torvalds@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton <akpm@linux-foundation.org> In-Reply-To: <20220323160453.65922ced539cbf445b191555@linux-foundation.org> Subject: [patch 15/41] checkpatch: add early_param exception to blank line after struct/function test Message-Id: <20220323230603.47B31C340E9@smtp.kernel.org> X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 7B9A1180043 X-Stat-Signature: mmojp7tqby9e4n33uc5t1ribkqrxcjkr Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=lpIm9UDM; dmarc=none; spf=pass (imf24.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspam-User: X-HE-Tag: 1648076764-799773 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/41] proc: alloc PATH_MAX bytes for /proc/${pid}/fd/ symlinks
|
expand
|
--- a/scripts/checkpatch.pl~checkpatch-add-early_param-exception-to-blank-line-after-struct-function-test +++ a/scripts/checkpatch.pl @@ -3926,7 +3926,7 @@ sub process { if ($prevline =~ /^[\+ ]};?\s*$/ && $line =~ /^\+/ && !($line =~ /^\+\s*$/ || - $line =~ /^\+\s*EXPORT_SYMBOL/ || + $line =~ /^\+\s*(?:EXPORT_SYMBOL|early_param)/ || $line =~ /^\+\s*MODULE_/i || $line =~ /^\+\s*\#\s*(?:end|elif|else)/ || $line =~ /^\+[a-z_]*init/ ||