All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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)
Date: Sat, 27 Apr 2024 10:12:34 +0800	[thread overview]
Message-ID: <202404271057.mvMigZp4-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-04-27  2:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202404271057.mvMigZp4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jolsa@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.