[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aJ2TUo_2Mwct924o@levanger>
Date: Thu, 14 Aug 2025 09:42:22 +0200
From: Nicolas Schier <nsc@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Shankari Anand <shankari.ak0208@...il.com>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kconfig: nconf: Format and print 'line' without a
temporary copy
On Mon, Aug 11, 2025 at 06:16:48PM +0200, Thorsten Blum wrote:
> Use "%.*s" as the format specifier and supply the 'line' length 'len' to
> mvwprintw() to format and print each line without making a temporary
> copy. Remove the temporary buffer.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> scripts/kconfig/nconf.gui.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
thanks!
Reviewed-by: Nicolas Schier <nsc@...nel.org>
As kconfig is currently orphaned, I am going to take this via kbuild
tree.
Kind regards,
Nicolas
Powered by blists - more mailing lists