[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160117.120248.1797719628794320481.davem@davemloft.net>
Date: Sun, 17 Jan 2016 12:02:48 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: geert@...ux-m68k.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tcp_memcontrol: Forward declare cgroup_subsys and
mem_cgroup stucts
From: Geert Uytterhoeven <geert@...ux-m68k.org>
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@...ux-m68k.org>
Applied, thanks Geert.
Powered by blists - more mailing lists