Re: [PATCH] tcp_memcontrol: Forward declare cgroup_subsys and mem_cgroup stucts

From: David Miller
Date: Sun Jan 17 2016 - 12:03:44 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Sun, 17 Jan 2016 11:30:37 +0100

> In file included from net/ipv4/tcp_ipv4.c:77 (and many more):
> include/net/tcp_memcontrol.h:5: warning: ʽstruct cgroup_subsysʼ declared inside parameter list
> include/net/tcp_memcontrol.h:5: warning: its scope is only this definition or declaration, which is probably not what you want
>
> Add forward declarations for all used structures to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied, thanks Geert.