Hi, Li,
On Tue, Apr 22, 2014 at 2:26 PM, Li Zefan wrote:
>
> I don't see this warning, and I don't see how this is possible.
You are right. No such warning.
It is triggered by the other patch, should be fixed in that patch.
Thanks,
Jianyu Zhan
--
To unsubscribe from this list: send the line
On 2014/4/22 13:44, Jianyu Zhan wrote:
> To suppress this warning:
>
> warning: ‘err’ may be used uninitialized in this function
> [-Wmaybe-uninitialized]
> int err;
> ^
I don't see this warning, and I don't see how this is possible.
static int create_css(struct cgroup *cgrp, struct cg
To suppress this warning:
warning: ‘err’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
int err;
^
Use the uninitialized_var() to decalre err. It also serves to be good
documetation.
Signed-off-by: Jianyu Zhan
---
kernel/cgroup.c | 2 +-
1 file changed, 1 inser
3 matches
Mail list logo