Re: linux-next: build warning after merge of the cgroup tree

2017-12-15 Thread Tejun Heo
On Fri, Dec 15, 2017 at 10:58:04AM +0100, Arnd Bergmann wrote: > As long as cft->name is guaranteed to be NUL-terminated, using strlcpy() would > work just as well and avoid that warning, so the change below could be folded > into that commit. > > Signed-off-by: Arnd Bergmann

Re: linux-next: build warning after merge of the cgroup tree

2017-12-15 Thread Tejun Heo
On Fri, Dec 15, 2017 at 10:58:04AM +0100, Arnd Bergmann wrote: > As long as cft->name is guaranteed to be NUL-terminated, using strlcpy() would > work just as well and avoid that warning, so the change below could be folded > into that commit. > > Signed-off-by: Arnd Bergmann Applied to

Re: linux-next: build warning after merge of the cgroup tree

2017-12-15 Thread Arnd Bergmann
On Wed, Dec 13, 2017 at 4:56 AM, Stephen Rothwell wrote: > Hi Tejun, > > After merging the cgroup tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > kernel/cgroup/cgroup.c: In function 'init_cgroup_root': > kernel/cgroup/cgroup.c:1867:3:

Re: linux-next: build warning after merge of the cgroup tree

2017-12-15 Thread Arnd Bergmann
On Wed, Dec 13, 2017 at 4:56 AM, Stephen Rothwell wrote: > Hi Tejun, > > After merging the cgroup tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > kernel/cgroup/cgroup.c: In function 'init_cgroup_root': > kernel/cgroup/cgroup.c:1867:3: warning: ignoring return

linux-next: build warning after merge of the cgroup tree

2017-12-12 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/cgroup/cgroup.c: In function 'init_cgroup_root': kernel/cgroup/cgroup.c:1867:3: warning: ignoring return value of 'strscpy', declared with attribute warn_unused_result

linux-next: build warning after merge of the cgroup tree

2017-12-12 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/cgroup/cgroup.c: In function 'init_cgroup_root': kernel/cgroup/cgroup.c:1867:3: warning: ignoring return value of 'strscpy', declared with attribute warn_unused_result

linux-next: build warning after merge of the cgroup tree

2017-04-30 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/cgroup/cgroup.c:439:13: warning: 'cgroup_get' defined but not used [-Wunused-function] static void cgroup_get(struct cgroup *cgrp) ^ Introduced by commit

linux-next: build warning after merge of the cgroup tree

2017-04-30 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/cgroup/cgroup.c:439:13: warning: 'cgroup_get' defined but not used [-Wunused-function] static void cgroup_get(struct cgroup *cgrp) ^ Introduced by commit

Re: linux-next: build warning after merge of the cgroup tree

2013-08-27 Thread Tejun Heo
On Tue, Aug 27, 2013 at 08:17:16PM +1000, Stephen Rothwell wrote: > Hi Tejun, > > After merging the cgroup tree, today's linux-next build (i386 defconfig) > produced this warning: > > kernel/cgroup.c: In function 'css_from_id': > kernel/cgroup.c:5723:3: warning: passing argument 2 of

linux-next: build warning after merge of the cgroup tree

2013-08-27 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (i386 defconfig) produced this 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]

linux-next: build warning after merge of the cgroup tree

2013-08-27 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (i386 defconfig) produced this 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]

Re: linux-next: build warning after merge of the cgroup tree

2013-08-27 Thread Tejun Heo
On Tue, Aug 27, 2013 at 08:17:16PM +1000, Stephen Rothwell wrote: Hi Tejun, After merging the cgroup tree, today's linux-next build (i386 defconfig) produced this warning: kernel/cgroup.c: In function 'css_from_id': kernel/cgroup.c:5723:3: warning: passing argument 2 of 'cgroup_css' makes