Re: [PATCH linux-next] cgroup: fix warning in css_from_id()

From: Tejun Heo
Date: Wed Aug 28 2013 - 08:26:25 EST


On Wed, Aug 28, 2013 at 02:04:45PM +0200, Vincent Stehlé wrote:
> Commit ca8bdcaff0d77990fb69e0f946018c96a70851cc changes cgroup_css() second
> argument type; update css_from_id() accordingly.
>
> This fixes the following compilation warning:
>
> kernel/cgroup.c: In function 'css_from_id':
> kernel/cgroup.c:5723:3: warning: passing argument 2 of 'cgroup_css' makes pointer from integer without a cast [enabled by default]
> kernel/cgroup.c:237:36: note: expected 'struct cgroup_subsys *' but argument is of type 'int'
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@xxxxxxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Li Zefan <lizefan@xxxxxxxxxx>

Fixed up yesterday in cgroup/for-3.12 branch. Today's next should be
okay.

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/