All of lore.kernel.org
 help / color / mirror / Atom feed
* [jolsa-perf:bpf/optimized_usdt_2 12/15] include/uapi/asm-generic/unistd.h:849:11: error: '__NR_uprobe' undeclared here (not in a function)
@ 2024-04-27  2:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-27  2:12 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/optimized_usdt_2
head:   554d1563d6bebe03a19f9500907d0b71df555713
commit: 644d6511fa626aad8f835307c2ce93bb1d1db871 [12/15] uprobe: Add uprobe syscall to speed up uprobe
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240427/202404271057.mvMigZp4-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240427/202404271057.mvMigZp4-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404271057.mvMigZp4-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from arch/openrisc/include/uapi/asm/unistd.h:30,
                    from <stdin>:2:
>> include/uapi/asm-generic/unistd.h:848: warning: "__NR_uretprobe" redefined
     848 | #define __NR_uretprobe 463
         | 
   include/uapi/asm-generic/unistd.h:845: note: this is the location of the previous definition
     845 | #define __NR_uretprobe 462
         | 
--
   In file included from arch/openrisc/include/uapi/asm/unistd.h:30,
                    from include/uapi/linux/unistd.h:8,
                    from include/uapi/linux/lsm.h:14,
                    from include/linux/security.h:36,
                    from include/net/scm.h:9,
                    from include/linux/netlink.h:9,
                    from include/uapi/linux/neighbour.h:6,
                    from include/linux/netdevice.h:45,
                    from include/net/sock.h:46,
                    from include/linux/tcp.h:19,
                    from include/linux/ipv6.h:101,
                    from include/net/addrconf.h:61,
                    from lib/vsprintf.c:41:
>> include/uapi/asm-generic/unistd.h:848: warning: "__NR_uretprobe" redefined
     848 | #define __NR_uretprobe 463
         | 
   include/uapi/asm-generic/unistd.h:845: note: this is the location of the previous definition
     845 | #define __NR_uretprobe 462
         | 
   lib/vsprintf.c: In function 'va_format':
   lib/vsprintf.c:1683:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    1683 |         buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va);
         |         ^~~
--
   In file included from arch/openrisc/include/uapi/asm/unistd.h:30,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/syscalls.h:89,
                    from arch/openrisc/kernel/sys_call_table.c:13:
>> include/uapi/asm-generic/unistd.h:848: warning: "__NR_uretprobe" redefined
     848 | #define __NR_uretprobe 463
         | 
   include/uapi/asm-generic/unistd.h:845: note: this is the location of the previous definition
     845 | #define __NR_uretprobe 462
         | 
   In file included from arch/openrisc/include/uapi/asm/unistd.h:30,
                    from arch/openrisc/kernel/sys_call_table.c:23:
   include/uapi/asm-generic/unistd.h:845: warning: "__NR_uretprobe" redefined
     845 | #define __NR_uretprobe 462
         | 
   include/uapi/asm-generic/unistd.h:848: note: this is the location of the previous definition
     848 | #define __NR_uretprobe 463
         | 
>> include/uapi/asm-generic/unistd.h:848: warning: "__NR_uretprobe" redefined
     848 | #define __NR_uretprobe 463
         | 
   include/uapi/asm-generic/unistd.h:845: note: this is the location of the previous definition
     845 | #define __NR_uretprobe 462
         | 
>> include/uapi/asm-generic/unistd.h:849:11: error: '__NR_uprobe' undeclared here (not in a function)
     849 | __SYSCALL(__NR_uprobe, sys_uprobe)
         |           ^~~~~~~~~~~
   arch/openrisc/kernel/sys_call_table.c:20:30: note: in definition of macro '__SYSCALL'
      20 | #define __SYSCALL(nr, call) [nr] = (call),
         |                              ^~
>> include/uapi/asm-generic/unistd.h:849:11: error: array index in initializer not of integer type
     849 | __SYSCALL(__NR_uprobe, sys_uprobe)
         |           ^~~~~~~~~~~
   arch/openrisc/kernel/sys_call_table.c:20:30: note: in definition of macro '__SYSCALL'
      20 | #define __SYSCALL(nr, call) [nr] = (call),
         |                              ^~
   include/uapi/asm-generic/unistd.h:849:11: note: (near initialization for 'sys_call_table')
     849 | __SYSCALL(__NR_uprobe, sys_uprobe)
         |           ^~~~~~~~~~~
   arch/openrisc/kernel/sys_call_table.c:20:30: note: in definition of macro '__SYSCALL'
      20 | #define __SYSCALL(nr, call) [nr] = (call),
         |                              ^~
--
   In file included from arch/openrisc/include/uapi/asm/unistd.h:30,
                    from <stdin>:2:
>> include/uapi/asm-generic/unistd.h:848: warning: "__NR_uretprobe" redefined
     848 | #define __NR_uretprobe 463
         | 
   include/uapi/asm-generic/unistd.h:845: note: this is the location of the previous definition
     845 | #define __NR_uretprobe 462
         | 


vim +/__NR_uprobe +849 include/uapi/asm-generic/unistd.h

   847	
 > 848	#define __NR_uretprobe 463
 > 849	__SYSCALL(__NR_uprobe, sys_uprobe)
   850	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-27  2:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-27  2:12 [jolsa-perf:bpf/optimized_usdt_2 12/15] include/uapi/asm-generic/unistd.h:849:11: error: '__NR_uprobe' undeclared here (not in a function) kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.