From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=216.40.44.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796149108; b=NIJJmfzchkGp+EZGw3Yg8oR0jFVJ4rdRbZUDejtSGOrqYcIYQHbjUFqa9fTxOwKJLvSn z+EEqwXQ28p8IuPWZj2IY5zPXSFmaj87/Df9XdYJQz8L8LvH9biXSemw6Za2IFeWTywdM LV/EJ+ExmvMwNjwLKvgadoXritMeJ0AEFYbXSLKhFT5FxOyhg2XaKUSSV1VhtJVdvi5Y/ XjgJ4IxZ2p+6Q/+iQuJQt1lsAVyAbpf5KXlnRdnnGTObHViP5zYORTsP18E9iu054k/ZN lPbg52kcb/0vKXK9iW5AaEpzTPegevGcKGmtS9Ybv5qMO7kzqGZWNMczg/Zsv4cn61g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796149108; h=DMARC-Filter:Received:Received:Message-ID:Subject:From:To:Cc:Date: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: User-Agent:MIME-Version:X-Stat-Signature:X-Spam-Status: X-Rspamd-Server:X-Rspamd-Queue-Id:X-Session-Marker:X-Session-ID: X-HE-Tag:X-HE-Meta; bh=UJ/BpkEnq8jcL9J/b2kZE6bULAU4PxT2j7+JYm0Hb1o=; b=fP8+JZrzECu7aNagAeVlM3Al74UBpp6EQ3976BJqUOTuaAmzs+hci205wedeWFPAgq8D 4K7QiVqy4Z8RxOaE2bm+mf/EOkCTLF6AE0n16/t3piUZ0KAn0PJEwW0q5COSoHJ5jOoiP JTpbRpSeH2FPXn4ZQ3Z1iHDEtbOzEwzMBO6tIVQSq9huHO25+29qIzJs49JrIRZnwKpry rgzX0rhyLyHQ/VWfjcwqyR/W4IqfqYpgXMHGUrjCYmD7T5FoPPObrepopRr+6hNBP7kxI i84wZBAx93ax4N/eLQvPGDIoBCXT6RFQY8oFh/uGNG8xcmJOdY0F1m55dQVnsP1j5fQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.remote-ip=216.40.44.11 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54625606A322 for ; Tue, 1 Dec 2026 18:18:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 54625606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf11.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 64733160E30; Tue, 1 Dec 2026 18:18:20 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA id 302912002C; Tue, 1 Dec 2026 18:18:18 +0000 (UTC) Message-ID: <7211bd017950ffe29f131376d6c2b442a44b369d.camel@perches.com> Subject: Re: [PATCH v2] checkpatch: externalize function-like type macros From: Joe Perches To: "Hong, Yifan" Cc: Andrew Morton , Andy Whitcroft , kernel-team@android.com, LKML Date: Tue, 01 Dec 2026 10:18:16 -0800 In-Reply-To: References: <20261118193921.683813-1-elsk@google.com> <74682668f673185570e7ea4be4b73c01@perches.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-3.fc44) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Stat-Signature: 5jw4wef9us4oqdcnhf997eiiitf6hwkw X-Rspamd-Server: rspamout01 X-Rspamd-Queue-Id: 302912002C X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18a+fdv9IYJAcgexnJGpWavXXYhKi6HOww= X-HE-Tag: 1796149098-621320 X-HE-Meta: U2FsdGVkX1+sfEwD5trnrdKV3l4CiGrDhr526O3QUZ4BBEdrJyR5+eFYaURRXwvfMgpkG98rbxMw/ge45KuqyyAR/fBBY1i+wM1yCVNRZlbPGDj7Wv4a5zQ52utRcXRiBlTvH60OaNmsoAFSNKnCaU/3xPf4BcYLx3qeHzAt4jhMjhyWyCFB7VaO97sjO9XnqaVedeZG5IQD1Le4jgUeBJv/eYe7P6GBjAj/9or+33ceK40QSIlgx5IhNjfQbA98Mo+UiSmwsdx4YyiZqIwrPK/tdRoW3MdsSrQxCsQr+PDJcphsu3GP9rzpx8haLyjFWWsLDFznJRubi4av/y+tMR0gOfjDH1RKnHCsAwUHOJAPNWZtwNN/yY+3IJkPDp5d On Mon, 2026-11-30 at 13:07 -0800, Hong, Yifan wrote: > On Wed, Nov 18, 2026 at 12:17=E2=80=AFPM Joe Perches wr= ote: > >=20 > > On 2026-11-18 11:39, HONG Yifan wrote: > >=20 > > > Following scripts/const_structs.checkpatch in commit bf1fa1dae68e > > > ("checkpatch: externalize the structs that should be const"), read > > > additional function-like type macro names from a new companion file > > > scripts/type_macros.checkpatch into $type_macros (named to mirror > > > $const_structs/$conststructsfile and initialized with the built-in > > > typeof and __typeof__ keywords) and use $type_macros in $NonptrType a= nd > > > $NonptrTypeWithAttr. > >=20 > > Yes like this. > >=20 > > I'll test it before i ack it tomorrow. > >=20 > > Thanks, Joe >=20 > Hi Joe, just a gentle ping in case this falls off from your list. Did > you have a chance to try out the patch? Thanks for your time! Sorry, haven't had much time. It looks exactly right and fine though. I'll try later this evening.