Re: [PATCH] kernel: cgroup: fix compile warning:
From: Tejun Heo
Date: Thu May 12 2016 - 11:04:58 EST
On Thu, May 12, 2016 at 12:34:38PM +0300, Felipe Balbi wrote:
> commit 4f41fc59620f ("cgroup, kernfs: make mountinfo
> show properly scoped path for cgroup namespaces")
> added the following compile warning:
>
> kernel/cgroup.c: In function âcgroup_show_pathâ:
> kernel/cgroup.c:1634:15: warning: unused variable âretâ [-Wunused-variable]
> int len = 0, ret = 0;
> ^
> fix it.
>
> Fixes: 4f41fc59620f ("cgroup, kernfs: make mountinfo
> show properly scoped path for cgroup
> namespaces")
> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
Applied to cgroup/for-4.6-fixes.
Thanks.
--
tejun