[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQdRdzbwciav5ewA2P9X=r6CeMb55zRny5QWCe62gR73w@mail.gmail.com>
Date: Thu, 24 Oct 2024 01:37:32 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Rolf Eike Beer <eb@...ix.com>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/7] kconfig: qconf: use QByteArray API instead of
manually constructing a string
On Wed, Oct 23, 2024 at 3:29 PM Rolf Eike Beer <eb@...ix.com> wrote:
>
> Using a naked char[] here isn't necessary as QByteArray has a nice API for all
> of this. Calling constData() will also always return a 0-terminated string so no
> further handling is required. And then the whole manual memory handling can go
> away as QByteArray will care for this when it goes out of scope.
>
> Signed-off-by: Rolf Eike Beer <eb@...ix.com>
> ---
I do not need this patch because I can refactor this function even deeper.
I have locally kept several clean-up patches, but I have not got around to
submitting them.
I will send some of them later.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists