[PATCH] cgroup:cgroup_mount: Fix uninitialized warning

Tejun Heo tj at kernel.org
Sat Apr 19 12:57:06 UTC 2014


On Sat, Apr 19, 2014 at 09:52:14PM +0900, Takeshi Misawa wrote:
> This patch fixes the following warning.
> 
> kernel/cgroup.c: In function ‘cgroup_mount’:
> kernel/cgroup.c:1609:13: warning: ‘root’ may be used uninitialized in this
> function

Which compiler are you using?  This is a spurious warning which the
compiler should be able to avoid pretty easily.

Thanks.

-- 
tejun


More information about the Containers mailing list