linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: akpm@linux-foundation.org, broonie@kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz,
	mm-commits@vger.kernel.org, sfr@canb.auug.org.au,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: mptcp@lists.01.org,
	Mat Martineau <mathew.j.martineau@linux.intel.com>,
	Matthieu Baerts <matthieu.baerts@tessares.net>
Subject: Re: mmotm 2020-01-28-20-05 uploaded (net/mptcp/subflow.c)
Date: Tue, 28 Jan 2020 20:39:03 -0800	[thread overview]
Message-ID: <71437ed1-e8b6-83bc-04b2-4c82fb313370@infradead.org> (raw)
In-Reply-To: <20200129040640.6PNuz0vcp%akpm@linux-foundation.org>

On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to
> 
>    http://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> http://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.
> 

Lots of build errors when CONFIG_PROC_FS is not set/enabled:

(truncation of around 500 lines of errors & warnings:)

In file included from ../include/asm-generic/percpu.h:7:0,
                 from ../arch/x86/include/asm/percpu.h:556,
                 from ../arch/x86/include/asm/preempt.h:6,
                 from ../include/linux/preempt.h:78,
                 from ../include/linux/spinlock.h:51,
                 from ../include/linux/seqlock.h:36,
                 from ../include/linux/time.h:6,
                 from ../include/linux/stat.h:19,
                 from ../include/linux/module.h:13,
                 from ../net/mptcp/subflow.c:10:
../net/mptcp/subflow.c: In function ‘mptcp_subflow_create_socket’:
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../include/linux/percpu-defs.h:219:47: note: in definition of macro ‘__verify_pcpu_ptr’
  const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \
                                               ^~~
../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../include/linux/percpu-defs.h:376:16: note: in definition of macro ‘__pcpu_size_call’
  switch(sizeof(variable)) {     \
                ^~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
In file included from ../arch/x86/include/asm/preempt.h:6:0,
                 from ../include/linux/preempt.h:78,
                 from ../include/linux/spinlock.h:51,
                 from ../include/linux/seqlock.h:36,
                 from ../include/linux/time.h:6,
                 from ../include/linux/stat.h:19,
                 from ../include/linux/module.h:13,
                 from ../net/mptcp/subflow.c:10:
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../arch/x86/include/asm/percpu.h:129:17: note: in definition of macro ‘percpu_add_op’
  typedef typeof(var) pao_T__;     \
                 ^~~
../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../arch/x86/include/asm/percpu.h:138:17: note: in definition of macro ‘percpu_add_op’
  switch (sizeof(var)) {      \
                 ^~~
../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../arch/x86/include/asm/percpu.h:141:45: note: in definition of macro ‘percpu_add_op’
    asm qual ("incb "__percpu_arg(0) : "+m" (var)); \
                                             ^~~
../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^
../arch/x86/include/asm/percpu.h:143:45: note: in definition of macro ‘percpu_add_op’
    asm qual ("decb "__percpu_arg(0) : "+m" (var)); \
                                             ^~~
../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^~~~
../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^~~~~~~~~~~~~~~~
../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’
  this_cpu_add(*net->core.sock_inuse, 1);
  ^~~~~~~~~~~~
../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’
  this_cpu_add(*net->core.sock_inuse, 1);
                         ^




-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

  reply	other threads:[~2020-01-29  4:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29  4:06 mmotm 2020-01-28-20-05 uploaded akpm
2020-01-29  4:39 ` Randy Dunlap [this message]
2020-01-29  4:52 ` mmotm 2020-01-28-20-05 uploaded (security/security.c) Randy Dunlap
2020-01-29 13:51   ` Paul Moore
2020-01-29 16:02     ` Randy Dunlap
2020-01-29 22:32   ` Stephen Rothwell
2020-01-29 16:43 ` mmotm 2020-01-28-20-05 uploaded (objtool warnings) Randy Dunlap
2020-01-29 17:19   ` Josh Poimboeuf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71437ed1-e8b6-83bc-04b2-4c82fb313370@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mathew.j.martineau@linux.intel.com \
    --cc=matthieu.baerts@tessares.net \
    --cc=mhocko@suse.cz \
    --cc=mm-commits@vger.kernel.org \
    --cc=mptcp@lists.01.org \
    --cc=netdev@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).