From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86D0733DEC2; Thu, 23 Jul 2026 15:17:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.228.1.57 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784819831; cv=none; b=NdGdT8qBw2hxo/WhTNuidrVBjbNda0gMPtrALkwMNif2wvW4x+7NA9/SBL+iZceawSt9hVumx+LGg5vQtjqpRjtzxTOxvFzgnwQy7/qvFSJxbdD3+GRNqP47sSJ9dseeXL1bY/DbEp8xPpQMXH82OeZ+Q/v481FOPFXA6ikis94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784819831; c=relaxed/simple; bh=WfY8nqKuTsiHSSWHKLtcZI05puT7uLfuQEDUgUGR9l4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=epFSFATB69uHK2yIHbAvKBRH8DCorhK+U4YJObd0UUZZejDCKQDI0Iwwrk8KA2su3dQ8BQkzdRNnMekR46Y0AUJGq3ax/E9lY3iq0ejCFr2suz4liReYIuKbfjv5Ho8HuUYRgnnhEabQ6jh/yDOChFu2V7Mz+3tRqY6A9k1muVk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org; spf=pass smtp.mailfrom=kernel.crashing.org; arc=none smtp.client-ip=63.228.1.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.crashing.org Received: from gate.crashing.org (localhost [127.0.0.1]) by gate.crashing.org (8.18.1/8.18.1/Debian-2) with ESMTP id 66NFEMq5259803; Thu, 23 Jul 2026 10:14:22 -0500 Received: (from segher@localhost) by gate.crashing.org (8.18.1/8.18.1/Submit) id 66NFECrd259732; Thu, 23 Jul 2026 10:14:12 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Thu, 23 Jul 2026 10:14:12 -0500 From: Segher Boessenkool To: Andi Kleen Cc: Markus Elfring , acpica-devel@lists.linux.dev, bpf@vger.kernel.org, coresight@lists.linaro.org, kvm@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-pm@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mptcp@lists.linux.dev, netdev@vger.kernel.org, platform-driver-x86@vger.kernel.org, virtualization@lists.linux.dev, Adrian Hunter , Alex Mastro , Alex Williamson , Alexander Shishkin , Alexei Starovoitov , Andrew Lunn , Andrew Morton , Andrii Nakryiko , Ankur Arora , Arnaldo Carvalho de Melo , Bartosz Golaszewski , Bobby Eshleman , Christian =?iso-8859-1?Q?Borntr=E4ger?= , Christophe Leroy , Chun-Tse Shao , Claudio Imbrenda , Costa Shulyupin , Crystal Wood , Daniel Borkmann , Daniel Lezcano , David Hildenbrand , David Matlack , "David S. Miller" , Donald Hunter , Eduard Zingerman , Emil Tsalapatis , Eric Dumazet , Gabriele Monaco , Geliang Tang , Ian Rogers , Ingo Molnar , Ivan Pravdin , Jakub Kicinski , James Clark , Janosch Frank , Jason Xing , Jiri Olsa , Joe Damato , John Garry , Josh Poimboeuf , Kaushlendra Kumar , Kent Gibson , Kumar Kartikeya Dwivedi , Len Brown , Leo Yan , Lukasz Luba , Madhavan Srinivasan , Mark Rutland , Martin KaFai Lau , Masami Hiramatsu , Mat Martineau , Matthieu Baerts , Michael Ellerman , Mike Leach , Mina Almasry , Mykyta Yatsenko , Nam Cao , Namhyung Kim , Nicholas Piggin , Paolo Abeni , Paolo Bonzini , Pawel Chmielewski , Peter Zijlstra , Quentin Monnet , "Rafael J. Wysocki" , Raghavendra Rao Ananta , Saket Dumbre , Shuah Khan , Simon Horman , Song Liu , Srinivas Pandruvada , Stanislav Fomichev , Stefano Garzarella , Steven Rostedt , Suzuki K Poulose , Swapnil Sapkal , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Tomas Glozar , Vipin Sharma , Wander Lairson Costa , Will Deacon , Willem de Bruijn , Willy Tarreau , Yonghong Song , Zhang Chujun , Zhang Rui , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] tools: Use fputc() calls in some functions Message-ID: References: <48f2d61f-d468-49b7-881e-f00777db073f@web.de> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Jul 23, 2026 at 06:47:00AM -0700, Andi Kleen wrote: > On Thu, Jul 23, 2026 at 12:25:25PM +0200, Markus Elfring wrote: > > From: Markus Elfring > > Date: Thu, 23 Jul 2026 11:13:30 +0200 > > Subject: [PATCH] tools: Use fputc() calls in some functions > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=UTF-8 > > Content-Transfer-Encoding: 8bit > > > > Single characters should occasionally be transferred into the output. > > Thus use the corresponding function “fputc” (or even “putchar”). > > > > The source code was transformed by using the Coccinelle software. > > gcc already does this transformation automatically. Yup. And the printf() form is much more regular, expected, readable. The primary consumers of source code are human beings, all programs should be written with that in mind! Segher