Thread (15 messages) 15 messages, 3 authors, 2013-03-04

Re: [PATCH 2/3] cgroup: add cgroup_name() API

From: Tejun Heo <tj@kernel.org>
Date: 2013-02-28 14:49:54
Also in: lkml

On Wed, Feb 27, 2013 at 10:53 PM, Li Zefan [off-list ref] wrote:
quoted
static const struct cgroup_name root_cgroup_name = { .name = "/" };
Can't... That's char name[0] not char *name.
Flexible array members can be statically initialized. If you wanna be
really anal about it, you can do it manually with a wrapping struct
but I don't think that would be necessary.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help