From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752400AbcAPQsy (ORCPT ); Sat, 16 Jan 2016 11:48:54 -0500 Received: from mail.skyhub.de ([78.46.96.112]:36511 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257AbcAPQsx (ORCPT ); Sat, 16 Jan 2016 11:48:53 -0500 Date: Sat, 16 Jan 2016 17:48:33 +0100 From: Borislav Petkov To: Johannes Weiner Cc: lkml Subject: =?utf-8?Q?include=2Fnet=2Ftcp=5Fmemcontrol?= =?utf-8?B?Lmg6NDo1NDogd2FybmluZzog4oCYc3RydWN0IGNncm91cF9zdWJzeXM=?= =?utf-8?B?4oCZ?= declared inside parameter list Message-ID: <20160116164833.GD31869@pd.tnic> 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.