Re: include/net/tcp_memcontrol.h:4:54: warning: âstruct cgroup_subsysâ declared inside parameter list

From: Johannes Weiner
Date: Sun Jan 17 2016 - 19:06:10 EST


Guten Nachmittag Boris,

On Sat, Jan 16, 2016 at 05:48:33PM +0100, Borislav Petkov wrote:
> In file included from net/ipv4/tcp_ipv4.c:76:0:
> include/net/tcp_memcontrol.h:4:54: warning: âstruct cgroup_subsysâ declared inside parameter list
> int tcp_init_cgroup(struct mem_cgroup *memcg, struct cgroup_subsys *ss);
> ^
> include/net/tcp_memcontrol.h:4:54: warning: its scope is only this definition or declaration, which is probably not what you want

thanks for the report. All this code (tcp_memcontrol.*) is already
deleted in -mm, so the issue should be fixed once Andrew sends the
next batch for this merge window linuswards.