[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171213145627.656e3909@canb.auug.org.au>
Date: Wed, 13 Dec 2017 14:56:27 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Tejun Heo <tj@...nel.org>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ma Shimiao <mashimiao.fnst@...fujitsu.com>
Subject: linux-next: build warning after merge of the cgroup tree
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 [-Wunused-result]
strscpy(root->release_agent_path, opts->release_agent, PATH_MAX);
^
kernel/cgroup/cgroup.c:1869:3: warning: ignoring return value of 'strscpy', declared with attribute warn_unused_result [-Wunused-result]
strscpy(root->name, opts->name, MAX_CGROUP_ROOT_NAMELEN);
^
kernel/cgroup/cgroup.c: In function 'cgroup_file_name':
kernel/cgroup/cgroup.c:1400:3: warning: ignoring return value of 'strscpy', declared with attribute warn_unused_result [-Wunused-result]
strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX);
^
Introduced by commit
e7fd37ba1217 ("cgroup: avoid copying strings longer than the buffers")
--
Cheers,
Stephen Rothwell
Powered by blists - more mailing lists