Re: [PATCH] tools: Use fputc() calls in some functions

Andi Kleen <[email protected]> Thu, 23 Jul 2026 06:47:00 -0700
Newsgroups gmane.linux.ports.ppc64.devel,gmane.linux.kernel.bpf,gmane.comp.emulators.kvm.devel,gmane.linux.acpi.devel,gmane.linux.ports.arm.kernel,gmane.linux.kernel.gpio,gmane.linux.kernel.mm,gmane.linux.kernel.perf.user,gmane.linux.power-management.general,gmane.linux.network,gmane.linux.drivers.platform.x86.devel,gmane.linux.kernel,gmane.linux.kernel.janitors
Message-ID <amIbVOIsOeZgcBZF@tassilo>
On Thu, Jul 23, 2026 at 12:25:25PM +0200, Markus Elfring wrote:
> From: Markus Elfring <[email protected]>
> 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.