[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALOAHbBC=2g0R=zM0iNXexMzaJq5rKykM=4rSGbNLLwGja1-HQ@mail.gmail.com>
Date: Wed, 28 Aug 2024 20:58:14 +0800
From: Yafang Shao <laoar.shao@...il.com>
To: Alejandro Colomar <alx@...nel.org>
Cc: akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
justinstitt@...gle.com, ebiederm@...ssion.com, alexei.starovoitov@...il.com,
rostedt@...dmis.org, catalin.marinas@....com,
penguin-kernel@...ove.sakura.ne.jp, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
audit@...r.kernel.org, linux-security-module@...r.kernel.org,
selinux@...r.kernel.org, bpf@...r.kernel.org, netdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org, Simon Horman <horms@...nel.org>,
Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH v8 6/8] mm/util: Deduplicate code in {kstrdup,kstrndup,kmemdup_nul}
On Wed, Aug 28, 2024 at 6:33 PM Alejandro Colomar <alx@...nel.org> wrote:
>
> On Wed, Aug 28, 2024 at 12:32:53PM GMT, Alejandro Colomar wrote:
> > On Wed, Aug 28, 2024 at 11:03:19AM GMT, Yafang Shao wrote:
> > > These three functions follow the same pattern. To deduplicate the code,
> > > let's introduce a common helper __kmemdup_nul().
> > >
> > > Suggested-by: Andrew Morton <akpm@...ux-foundation.org>
> > > Signed-off-by: Yafang Shao <laoar.shao@...il.com>
> > > Cc: Simon Horman <horms@...nel.org>
> > > Cc: Matthew Wilcox <willy@...radead.org>
> > > Cc: Alejandro Colomar <alx@...nel.org>
> > > ---
> >
> > Reviewed-by: Alejandro Colomar <alx@...nel.org>
>
> (Or maybe I should say
>
> Co-developed-by: Alejandro Colomar <alx@...nel.org>
> Signed-off-by: Alejandro Colomar <alx@...nel.org>
I will add it.
Thanks for your help.
--
Regards
Yafang
Powered by blists - more mailing lists