Re: [PATCH] cgroup:cgroup_mount: Fix uninitialized warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm seeing this too in Linus's current tree (v3.16-rc1-112-g894e552) with:

gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)



On Sat, Apr 19, 2014 at 5:57 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:

> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>



-- 
Dave
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers





[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux