linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
@ 2020-06-25 22:37 kernel test robot
  2020-06-25 22:57 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-06-25 22:37 UTC (permalink / raw)
  To: Minchan Kim
  Cc: kbuild-all, Johannes Weiner, Suren Baghdasaryan, Vlastimil Babka,
	Andrew Morton, Linux Memory Management List

[-- 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 --]

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

* Re: [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined
  2020-06-25 22:37 [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined kernel test robot
@ 2020-06-25 22:57 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2020-06-25 22:57 UTC (permalink / raw)
  To: kernel test robot
  Cc: Minchan Kim, kbuild-all, Johannes Weiner, Suren Baghdasaryan,
	Vlastimil Babka, Linux Memory Management List

On Fri, 26 Jun 2020 06:37:08 +0800 kernel test robot <lkp@intel.com> wrote:

> 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

Thanks.

--- a/include/uapi/asm-generic/unistd.h~mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-2
+++ a/include/uapi/asm-generic/unistd.h
@@ -865,7 +865,7 @@ __SYSCALL(__NR_watch_mount, sys_watch_mo
 __SYSCALL(__NR_watch_sb, sys_watch_sb)
 #define __NR_fsinfo 442
 __SYSCALL(__NR_fsinfo, sys_fsinfo)
-#define __NR_fsinfo 443
+#define __NR_process_madvise 443
 __SC_COMP(__NR_process_madvise, sys_process_madvise, compat_sys_process_madvise)
 
 #undef __NR_syscalls
_



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

end of thread, other threads:[~2020-06-25 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-25 22:37 [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined kernel test robot
2020-06-25 22:57 ` Andrew Morton

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