Re: [PATCH 01/20] cgroup: Manual replacement of the deprecated strlcpy() with return values

Romain Perier
2021-02-23T17:49:44Z

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

Le mar. 23 févr. 2021 à 17:13, Michal Koutný <mkoutny@suse.com> a écrit :

> Hello.
>
> On Mon, Feb 22, 2021 at 04:12:12PM +0100, Romain Perier <
> romain.perier@gmail.com> wrote:
> > --- a/kernel/cgroup/cgroup.c
> > +++ b/kernel/cgroup/cgroup.c
> > @@ -2265,7 +2265,7 @@ int task_cgroup_path(struct task_struct *task,
> char *buf, size_t buflen)
> Actually, this function isn't used at all. So I'd instead propose the
> patch below.
>

+1 if it is dead code.

Thanks,
Romain

[-- Attachment #2: Type: text/html, Size: 932 bytes --]