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


Groups > linux.kernel > #1311203

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

From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: include/net/tcp_memcontrol.h:4:54: warning: ‘struct cgroup_subsys’ declared inside parameter list
Date 2016-01-18 01:10 +0100
Message-ID <qS5yr-1iK-27@gated-at.bofh.it> (permalink)
References <qRCd4-6Po-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

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


Thread

include/net/tcp_memcontrol.h:4:54: warning: ‘struct cgroup_subsys’ declared inside parameter list Borislav Petkov <bp@alien8.de> - 2016-01-16 17:50 +0100
  Re: include/net/tcp_memcontrol.h:4:54: warning: ‘struct cgroup_subsys’ declared inside parameter list Johannes Weiner <hannes@cmpxchg.org> - 2016-01-18 01:10 +0100
    Re: include/net/tcp_memcontrol.h:4:54: warning: ‘struct cgroup_subsys’ declared inside parameter list Borislav Petkov <bp@alien8.de> - 2016-01-18 01:20 +0100

csiph-web