lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aQ2qq_Se3_RIBfH0@smile.fi.intel.com>
Date: Fri, 7 Nov 2025 10:15:39 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Junrui Luo <moonafterrain@...look.com>
Cc: linux-kernel@...r.kernel.org, pmladek@...e.com, rostedt@...dmis.org,
	akpm@...ux-foundation.org, tiwai@...e.com, perex@...ex.cz,
	linux-sound@...r.kernel.org, mchehab@...nel.org,
	awalls@...metrocast.net, linux-media@...r.kernel.org,
	davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
	pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH 0/4] Add scnprintf_append() helper

On Fri, Nov 07, 2025 at 01:16:12PM +0800, Junrui Luo wrote:
> This patch series was suggested by Takashi Iwai:
> https://lore.kernel.org/all/874irai0ag.wl-tiwai@suse.de/
> 
> It introduces a generic scnprintf_append() helper function
> to lib/vsprintf.c and converts several users across different subsystems.
> 
> The pattern of building strings incrementally using strlen() + sprintf/snprintf()
> appears frequently throughout the kernel. This helper simplifies such code,
> and provides proper bounds checking.
> 
> Patch 1 adds the scnprintf_append() helper to the kernel's string library.
> This is a common pattern where strings are built incrementally by appending
> formatted text.
> 
> Patches 2-4 convert users in different subsystems:
> - Patch 2: sound/isa/wavefront
> - Patch 3: drivers/media/pci/ivtv
> - Patch 4: drivers/net/ethernet/qlogic/qede
> 
> These conversions demonstrate the helper's applicability.

Something seems went wrong. This email is detached from the series (in terms of
the email thread). When formatting patches, use -v<X> --cover-letter to set
up the version number <X> and generate the cover letter that is chained to
the rest of the series.

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ