On Wed, Jun 07, 2017 at 11:01:24PM +0200, Arnd Bergmann wrote:
On Thu, May 25, 2017 at 10:18 PM, Arnd Bergmann arnd@arndb.de wrote:
On Thu, May 25, 2017 at 9:28 PM, Build bot for Mark Brown broonie@kernel.org wrote:
defconfigs with issues (other than build errors): 1 warnings 0 mismatches : x86_64-defconfig 1 warnings 0 mismatches : arm-multi_v7_defconfig 1 warnings 0 mismatches : arm-multi_v5_defconfig 1 warnings 0 mismatches : arm64-defconfig
Warnings Summary: 1 4 ../kernel/cgroup/cgroup.c:439:13: warning: 'cgroup_get' defined but not used [-Wunused-function]
Hi Greg,
please add this fix to 4.11.y:
310b4816a5d8 ("cgroup: mark cgroup_get() with __maybe_unused")
The warning was apparently introduced by the backport of d979a39d7242 ("cgroup: duplicate cgroup reference when cloning sockets"), which is marked as applicable to 4.5+, so we may also need the same fix on 4.9.y once d979a39d7242 makes it in there (today's 4.9.y build report didn't show the warning).
The warning still shows up on v4.11.4.
Now queued up, thanks.
greg k-h