Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1311166

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] tcp_memcontrol: Forward declare cgroup_subsys and mem_cgroup stucts
Date 2016-01-17 18:10 +0100
Message-ID <qRYZY-5jQ-5@gated-at.bofh.it> (permalink)
References <qRWbM-3tv-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Geert Uytterhoeven <geert@linux-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@linux-m68k.org>

Applied, thanks Geert.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] tcp_memcontrol: Forward declare cgroup_subsys and mem_cgroup stucts Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-17 15:10 +0100
  Re: [PATCH] tcp_memcontrol: Forward declare cgroup_subsys and  mem_cgroup stucts David Miller <davem@davemloft.net> - 2016-01-17 18:10 +0100

csiph-web