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


Groups > linux.kernel > #1310999

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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject include/net/tcp_memcontrol.h:4:54: warning: ‘struct cgroup_subsys’ declared inside parameter list
Date Sat, 16 Jan 2016 17:50:02 +0100
Message-ID <qRCd4-6Po-7@gated-at.bofh.it> (permalink)
X-Original-To Johannes Weiner <hannes@cmpxchg.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1452962932; bh=Jj7TDbDTIVKgx4DGZQ7Pj4sCRvU31VRATakjWSKwDYU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=Q9AVonTIjnap6oQevhF2MTvIwFzReig1mPb3K TlJy/z4VI21LKaraI3cL00J3WQ5/qeyMx1N+l3QChmIHe8zRZV7SPjEkjcqURKR0o7Q +VJOEQg95yaS8iz0B3bpOrlnEP1ejNm6p0QfWx//WjhqoL1VFy8Z91Zck/W4og1HgIw =
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1452962931; bh=Jj7TDbDTIVKgx4DGZQ7Pj4sCRvU31VRATakjWSKwDYU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=mTkA7xPtPFGlG/eRfJ7JcfrcAqPbFLOWRIZBm eHhoWjlPhMQZiW5sFBHE6f43Uvq59lw5C/jelMvYFEfbV5TmDdkbEoYwUHZRYZtWplJ ajtbQnzzCpzclinz2lGb3QrMJrIx3GqHlZPC/dzJnWBzlsA2rheQvo1Ax0MeuySbLUU =
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc lkml <linux-kernel@vger.kernel.org>
X-Original-Date Sat, 16 Jan 2016 17:48:33 +0100
X-Original-Message-ID <20160116164833.GD31869@pd.tnic>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1310999

Show key headers only | View raw


Moin Johannes,

you're the last touching net/ipv4/tcp_memcontrol.c, so here you go :-P

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
In file included from net/ipv6/tcp_ipv6.c:64: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
In file included from net/ipv4/sysctl_net_ipv4.c:27: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

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

Back to linux.kernel | Previous | Next — 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