linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2016-03-13  8:37 kbuild test robot
  2016-03-13 16:00 ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: kbuild test robot @ 2016-03-13  8:37 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2131 bytes --]

Hi Russell,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f414ca64be4b36c30deb5b5fa25c5a8ff42ea56b
commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation
date:   8 months ago
config: mn10300-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b2c0b2cbb282f0cf42518ffacbe197e6f2884168
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from lib/nmi_backtrace.c:17:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^

vim +361 include/linux/kprobes.h

e6584523 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e6584523 Ananth N Mavinakayanahalli 2005-11-07  357  }
e6584523 Ananth N Mavinakayanahalli 2005-11-07  358  
e6584523 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e6584523 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893 Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e6584523 Ananth N Mavinakayanahalli 2005-11-07  362  }
e6584523 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 34526 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2017-02-12  7:41 kbuild test robot
  2017-02-12  8:31 ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: kbuild test robot @ 2017-02-12  7:41 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]

Hi Russell,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1ce42845f987e92eabfc6e026d44d826c25c74a5
commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation
date:   1 year, 7 months ago
config: mn10300-allyesconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b2c0b2cbb282f0cf42518ffacbe197e6f2884168
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from lib/nmi_backtrace.c:17:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^~~~~~

vim +361 include/linux/kprobes.h

e65845235 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc1 Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  357  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  358  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893a Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  362  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e4 Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34504 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2016-11-13  1:09 kbuild test robot
  2016-11-13  9:01 ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: kbuild test robot @ 2016-11-13  1:09 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]

Hi Russell,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   86e4ee760ef2f7571e233a3abf065ffd0bb4089d
commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation
date:   1 year, 4 months ago
config: mn10300-allmodconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b2c0b2cbb282f0cf42518ffacbe197e6f2884168
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from lib/nmi_backtrace.c:17:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^~~~~~

vim +361 include/linux/kprobes.h

e65845235 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc1 Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  357  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  358  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893a Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  362  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e4 Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34191 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2016-10-02  1:31 kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2016-10-02  1:31 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]

Hi Russell,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation
date:   1 year, 3 months ago
config: mn10300-allyesconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b2c0b2cbb282f0cf42518ffacbe197e6f2884168
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from lib/nmi_backtrace.c:17:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^~~~~~

vim +361 include/linux/kprobes.h

e65845235 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc1 Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  357  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  358  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893a Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  362  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e4 Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34530 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2016-09-22  8:45 kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2016-09-22  8:45 UTC (permalink / raw)
  To: Joe Perches
  Cc: kbuild-all, linux-kernel, Andrew Morton,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 3600 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files
date:   1 year, 3 months ago
config: mn10300-allyesconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout cb984d101b30eb7478d32df56a0023e4603cba7f
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from drivers/misc/lkdtm.c:39:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^~~~~~

vim +361 include/linux/kprobes.h

ef53d9c5e Srinivasa D S              2008-07-25  345  void kretprobe_hash_unlock(struct task_struct *tsk, unsigned long *flags);
b94cce926 Hien Nguyen                2005-06-23  346  struct hlist_head * kretprobe_inst_table_head(struct task_struct *tsk);
^1da177e4 Linus Torvalds             2005-04-16  347  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  348  /* kprobe_running() will just return the current_kprobe on this CPU */
e65845235 Ananth N Mavinakayanahalli 2005-11-07  349  static inline struct kprobe *kprobe_running(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  350  {
b76834bc1 Christoph Lameter          2010-12-06  351  	return (__this_cpu_read(current_kprobe));
e65845235 Ananth N Mavinakayanahalli 2005-11-07  352  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  353  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  354  static inline void reset_current_kprobe(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc1 Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  357  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  358  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893a Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  362  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e4 Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);
^1da177e4 Linus Torvalds             2005-04-16  365  void unregister_kprobe(struct kprobe *p);
9861668f7 Masami Hiramatsu           2008-04-28  366  int register_kprobes(struct kprobe **kps, int num);
9861668f7 Masami Hiramatsu           2008-04-28  367  void unregister_kprobes(struct kprobe **kps, int num);
^1da177e4 Linus Torvalds             2005-04-16  368  int setjmp_pre_handler(struct kprobe *, struct pt_regs *);
^1da177e4 Linus Torvalds             2005-04-16  369  int longjmp_break_handler(struct kprobe *, struct pt_regs *);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33373 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
@ 2016-03-06  3:53 kbuild test robot
  0 siblings, 0 replies; 9+ messages in thread
From: kbuild test robot @ 2016-03-06  3:53 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-kernel, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   67944024c1cdd897e49a09b0d6af3ea38d1388ca
commit: b2c0b2cbb282f0cf42518ffacbe197e6f2884168 nmi: create generic NMI backtrace implementation
date:   8 months ago
config: mn10300-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b2c0b2cbb282f0cf42518ffacbe197e6f2884168
        # save the attached .config to linux build tree
        make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from lib/nmi_backtrace.c:17:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'
     return this_cpu_ptr(&kprobe_ctlblk);
     ^

vim +361 include/linux/kprobes.h

e6584523 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc Christoph Lameter          2010-12-06  356  	__this_cpu_write(current_kprobe, NULL);
e6584523 Ananth N Mavinakayanahalli 2005-11-07  357  }
e6584523 Ananth N Mavinakayanahalli 2005-11-07  358  
e6584523 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void)
e6584523 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893 Christoph Lameter          2014-04-29 @361  	return this_cpu_ptr(&kprobe_ctlblk);
e6584523 Ananth N Mavinakayanahalli 2005-11-07  362  }
e6584523 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e Linus Torvalds             2005-04-16  364  int register_kprobe(struct kprobe *p);

:::::: The code at line 361 was first introduced by commit
:::::: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var uses with this_cpu_ptr

:::::: TO: Christoph Lameter <cl@linux.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 34526 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-12  8:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13  8:37 include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk' kbuild test robot
2016-03-13 16:00 ` Russell King - ARM Linux
  -- strict thread matches above, loose matches on Subject: below --
2017-02-12  7:41 kbuild test robot
2017-02-12  8:31 ` Russell King - ARM Linux
2016-11-13  1:09 kbuild test robot
2016-11-13  9:01 ` Russell King - ARM Linux
2016-10-02  1:31 kbuild test robot
2016-09-22  8:45 kbuild test robot
2016-03-06  3:53 kbuild test robot

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).