linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Minchan Kim <minchan@kernel.org>
Cc: kbuild-all@lists.01.org, Johannes Weiner <hannes@cmpxchg.org>,
	Suren Baghdasaryan <surenb@google.com>,
	Vlastimil Babka <vbabka@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
Date: Fri, 26 Jun 2020 06:37:08 +0800	[thread overview]
Message-ID: <202006260605.b1JQxJ9n%lkp@intel.com> (raw)

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

tree:   https://github.com/hnaz/linux-mm master
head:   40d47c26669bdbaa1062e636371a4bf4f9b6f0e5
commit: 25003a4287763edd30991a6b03e15d1c8d434565 [196/224] mm/madvise: introduce process_madvise() syscall: an external memory hinting API
config: c6x-randconfig-c023-20200624 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from arch/c6x/kernel/asm-offsets.c:12:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   arch/c6x/kernel/asm-offsets.c:14:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
      14 | void foo(void)
         |      ^~~
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from <stdin>:2:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
>> <stdin>:1535:2: warning: #warning syscall process_madvise not implemented [-Wcpp]
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from include/linux/etherdevice.h:21,
                    from net/devres.c:7:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from net/socket.c:62:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from net/socket.c:91:
   include/uapi/asm-generic/unistd.h:866: warning: "__NR_fsinfo" redefined
     866 | #define __NR_fsinfo 442
         | 
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from net/socket.c:62:
   include/uapi/asm-generic/unistd.h:868: note: this is the location of the previous definition
     868 | #define __NR_fsinfo 443
         | 
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from net/socket.c:91:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   net/socket.c: In function '__sys_getsockopt':
   net/socket.c:2156:6: warning: variable 'max_optlen' set but not used [-Wunused-but-set-variable]
    2156 |  int max_optlen;
         |      ^~~~~~~~~~
   /tmp/cc8C4YLF.s: Assembler messages:
   /tmp/cc8C4YLF.s:14575: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from include/net/inet_sock.h:19,
                    from include/net/ip.h:27,
                    from include/linux/errqueue.h:6,
                    from net/core/sock.c:91:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   /tmp/cc7DhrOz.s: Assembler messages:
   /tmp/cc7DhrOz.s:27084: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from include/net/sock.h:46,
                    from include/linux/tcp.h:19,
                    from net/core/skbuff.c:45:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   during RTL pass: mach
   net/core/skbuff.c: In function '__alloc_skb':
   net/core/skbuff.c:258:1: internal compiler error: in priority, at haifa-sched.c:1599
     258 | }
         | ^
   0x527435 priority
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:1599
   0xeeff2a priority
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:1595
   0xeeff2a apply_replacement
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:4719
   0xef0b20 undo_replacements_for_backtrack
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:4454
   0xef0d63 restore_last_backtrack_point
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:4551
   0xef4f5e schedule_block(basic_block_def**, void*)
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/haifa-sched.c:6952
   0xf72558 schedule_ebb(rtx_insn*, rtx_insn*, bool)
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/sched-ebb.c:537
   0xf72bd1 schedule_ebbs()
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/sched-ebb.c:656
   0xc94f9b c6x_reorg
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/config/c6x/c6x.c:5943
   0x984d9d execute
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/reorg.c:3992
   Please submit a full bug report,
   with preprocessed source if appropriate.
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from include/linux/icmpv6.h:13,
                    from include/linux/ipv6.h:87,
                    from net/core/flow_dissector.c:6:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   /tmp/ccuAmlQn.s: Assembler messages:
   /tmp/ccuAmlQn.s:7318: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from net/core/sysctl_net_core.c:13:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   /tmp/cck7b14p.s: Assembler messages:
   /tmp/cck7b14p.s:702: Warning: ignoring changed section type for .far
   /tmp/cck7b14p.s:702: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from net/core/dev.c:90:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   /tmp/ccTMw4u0.s: Assembler messages:
   /tmp/ccTMw4u0.s:60188: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from include/net/sock.h:46,
                    from include/linux/sock_diag.h:8,
                    from net/core/filter.c:25:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   In file included from include/asm-generic/atomic.h:12,
                    from ./arch/c6x/include/generated/asm/atomic.h:1,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/c6x/include/asm/bitops.h:87,
                    from include/linux/bitops.h:29,
                    from include/linux/kernel.h:12,
                    from include/linux/list.h:9,
                    from include/linux/module.h:12,
                    from net/core/filter.c:20:
   net/core/filter.c: In function 'bpf_clear_redirect_map':
   arch/c6x/include/asm/cmpxchg.h:55:3: warning: value computed is not used [-Wunused-value]
      55 |  ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr),  \
         |  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      56 |            (unsigned long)(o), \
         |            ~~~~~~~~~~~~~~~~~~~~~
      57 |            (unsigned long)(n), \
         |            ~~~~~~~~~~~~~~~~~~~~~
      58 |            sizeof(*(ptr))))
         |            ~~~~~~~~~~~~~~~~
   include/asm-generic/cmpxchg.h:106:28: note: in expansion of macro 'cmpxchg_local'
     106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n))
         |                            ^~~~~~~~~~~~~
   net/core/filter.c:3569:4: note: in expansion of macro 'cmpxchg'
    3569 |    cmpxchg(&ri->map, map, NULL);
         |    ^~~~~~~
   /tmp/ccQcVMXF.s: Assembler messages:
   /tmp/ccQcVMXF.s:49652: Warning: ignoring changed section type for .far
   /tmp/ccQcVMXF.s:49652: Warning: ignoring changed section attributes for .far
   /tmp/ccQcVMXF.s:49713: Warning: ignoring changed section type for .far
   /tmp/ccQcVMXF.s:49713: Warning: ignoring changed section attributes for .far
   /tmp/ccQcVMXF.s:49762: Warning: ignoring changed section type for .far
   /tmp/ccQcVMXF.s:49762: Warning: ignoring changed section attributes for .far
--
   In file included from arch/c6x/include/uapi/asm/unistd.h:25,
                    from include/uapi/linux/unistd.h:8,
                    from include/linux/compat.h:20,
                    from include/linux/ethtool.h:17,
                    from include/linux/netdevice.h:37,
                    from net/ipv4/route.c:75:
>> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
     868 | #define __NR_fsinfo 443
         | 
   include/uapi/asm-generic/unistd.h:866: note: this is the location of the previous definition
     866 | #define __NR_fsinfo 442
         | 
   net/ipv4/route.c: In function 'ip_rt_send_redirect':
   net/ipv4/route.c:876:6: warning: variable 'log_martians' set but not used [-Wunused-but-set-variable]
     876 |  int log_martians;
         |      ^~~~~~~~~~~~
..

vim +/__NR_fsinfo +868 include/uapi/asm-generic/unistd.h

   855	
   856	#define __NR_openat2 437
   857	__SYSCALL(__NR_openat2, sys_openat2)
   858	#define __NR_pidfd_getfd 438
   859	__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
   860	#define __NR_faccessat2 439
   861	__SYSCALL(__NR_faccessat2, sys_faccessat2)
   862	#define __NR_watch_mount 440
   863	__SYSCALL(__NR_watch_mount, sys_watch_mount)
   864	#define __NR_watch_sb 441
   865	__SYSCALL(__NR_watch_sb, sys_watch_sb)
   866	#define __NR_fsinfo 442
   867	__SYSCALL(__NR_fsinfo, sys_fsinfo)
 > 868	#define __NR_fsinfo 443
   869	__SC_COMP(__NR_process_madvise, sys_process_madvise, compat_sys_process_madvise)
   870	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

             reply	other threads:[~2020-06-25 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-25 22:37 kernel test robot [this message]
2020-06-25 22:57 ` Andrew Morton

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=202006260605.b1JQxJ9n%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=surenb@google.com \
    --cc=vbabka@suse.cz \
    /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