From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77AA01F098C for ; Wed, 19 Mar 2025 18:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742408445; cv=none; b=Y+UYIUnaUeglVo7d7Eaa3HwklRrLb3lJ1o079cBUbRb09yMxu+WDAf7bPKkMNlT9n15JmdPuKe2gsf95idpg5te35r3mAxdkji1PQa4k2obFtoD46VAMjWE81qnIEZe/JtljMpAdA64MoTQYk7julCb0li0QZN54BN+gkkZcjWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742408445; c=relaxed/simple; bh=27dcTXcu9FbI7s5r0pDR5aZk/FbVaf7QzQQAmXVrRtY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ZWX/KzEtI/3gP2v1SuivBNYb7cbXIUOlXnNeD8LbvWjZln2VuB+TSdOgCLkR7YOM9n1WjLRtmdEqc6pMmMUxBRRmqKDWSVPW7kRGB5UXePXagFLXcRlAMVLgI12MEVnDdpWO03xQx/s+1EyCFmsLMIGJD2dGRGMF5O8FuhkjNLc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hPGOG10F; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hPGOG10F" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1742408442; x=1773944442; h=date:from:to:cc:subject:message-id:mime-version; bh=27dcTXcu9FbI7s5r0pDR5aZk/FbVaf7QzQQAmXVrRtY=; b=hPGOG10FvOrA7Y5JHiOr2xlEh17fdUqF87Eycgjo5krGEJY2JKPP2iis M884Gnccyyzm9U37/nP81Xujdxxra2LX6xGv9WV8LH2QfWNJecC09Ycxa xPBZ9mUbPRxVC5iQFZHDziL8W6clCHTijR4t9oeQX7sklk6uHBW6EScvq c+ClmN1tMy7TfOPnu/jDYL7dtHKIHNpWPrKjxcNOZvhibDLVd7ys+TPkP IeXEunB+tcy/0Ubsa6YwKr6tsxLRLXkjJJBskVCvC8pH/8Ds5SKxucTmt mFdAEtI8mGN0FxqqdKKIl/HrV1Pb6+jLxmmA+aXRbGtEdk+RQwdAqc85e Q==; X-CSE-ConnectionGUID: q23emKA0TbCUGrM5/PV5qA== X-CSE-MsgGUID: 6gbKGyLCR22Ivn3NnGsWZw== X-IronPort-AV: E=McAfee;i="6700,10204,11378"; a="54607067" X-IronPort-AV: E=Sophos;i="6.14,259,1736841600"; d="scan'208";a="54607067" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2025 11:20:42 -0700 X-CSE-ConnectionGUID: UFFneTlkR726+A6IEazAkg== X-CSE-MsgGUID: x8sFlA+hRLmVo2dfxr4fmA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,259,1736841600"; d="scan'208";a="122906644" Received: from lkp-server02.sh.intel.com (HELO a4747d147074) ([10.239.97.151]) by fmviesa008.fm.intel.com with ESMTP; 19 Mar 2025 11:20:40 -0700 Received: from kbuild by a4747d147074 with local (Exim 4.96) (envelope-from ) id 1tuy1t-000Fau-22; Wed, 19 Mar 2025 18:20:37 +0000 Date: Thu, 20 Mar 2025 02:20:11 +0800 From: kernel test robot To: Sami Tolvanen Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Palmer Dabbelt Subject: arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_io_uring_enter' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long ... Message-ID: <202503200258.p3HCc03n-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 81e4f8d68c66da301bb881862735bd74c6241a19 commit: a9ad73295cc1e3af0253eee7d08943b2419444c4 riscv: Fix syscall wrapper for >word-size arguments date: 12 months ago config: riscv-randconfig-002-20250320 (https://download.01.org/0day-ci/archive/20250320/202503200258.p3HCc03n-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250320/202503200258.p3HCc03n-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202503200258.p3HCc03n-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/linux/compat.h:34, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from include/linux/module.h:19, from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/node.h:18, from include/linux/cpu.h:17, from include/linux/static_call.h:135, from include/linux/tracepoint.h:22, from include/trace/syscall.h:5, from include/linux/syscalls.h:93, from io_uring/io_uring.c:45: >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_io_uring_enter' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/io_uring.c:3591:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/io_uring.c:3591:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_io_uring_setup' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/io_uring.c:4077:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(io_uring_setup, u32, entries, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/io_uring.c:4077:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(io_uring_setup, u32, entries, ^~~~~~~~~~~~~~~ -- In file included from include/linux/compat.h:34, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from include/linux/module.h:19, from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/node.h:18, from include/linux/cpu.h:17, from include/linux/static_call.h:135, from include/linux/tracepoint.h:22, from include/trace/syscall.h:5, from include/linux/syscalls.h:93, from io_uring/register.c:9: >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_io_uring_register' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/register.c:561:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(io_uring_register, unsigned int, fd, unsigned int, opcode, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ io_uring/register.c:561:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(io_uring_register, unsigned int, fd, unsigned int, opcode, ^~~~~~~~~~~~~~~ -- In file included from include/linux/compat.h:34, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from include/linux/module.h:19, from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/blk_types.h:11, from include/linux/blkdev.h:9, from block/ioprio.c:27: >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_ioprio_set' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ block/ioprio.c:69:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ block/ioprio.c:69:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_ioprio_get' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ block/ioprio.c:184:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(ioprio_get, int, which, int, who) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ block/ioprio.c:184:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(ioprio_get, int, which, int, who) ^~~~~~~~~~~~~~~ -- In file included from include/linux/compat.h:34, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from include/linux/module.h:19, from include/linux/bpf.h:20, from include/linux/bpf-cgroup.h:5, from net/socket.c:55: >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_socket' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1718:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1718:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol) ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_recvmmsg_time32' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:3045:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(recvmmsg_time32, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:3045:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(recvmmsg_time32, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_recvmmsg' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:3034:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(recvmmsg, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:3034:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(recvmmsg, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_recvmsg' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2882:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(recvmsg, int, fd, struct user_msghdr __user *, msg, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2882:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(recvmsg, int, fd, struct user_msghdr __user *, msg, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_sendmmsg' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2750:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(sendmmsg, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2750:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(sendmmsg, int, fd, struct mmsghdr __user *, mmsg, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_sendmsg' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2674:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(sendmsg, int, fd, struct user_msghdr __user *, msg, unsigned int, flags) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2674:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(sendmsg, int, fd, struct user_msghdr __user *, msg, unsigned int, flags) ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_shutdown' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2443:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(shutdown, int, fd, int, how) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2443:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(shutdown, int, fd, int, how) ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_getsockopt' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2409:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2409:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_setsockopt' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2340:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(setsockopt, int, fd, int, level, int, optname, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:226:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2340:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(setsockopt, int, fd, int, level, int, optname, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_recv' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2267:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(recv, int, fd, void __user *, ubuf, size_t, size, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2267:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(recv, int, fd, void __user *, ubuf, size_t, size, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_recvfrom' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2256:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, ubuf, size_t, size, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2256:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, ubuf, size_t, size, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_send' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2210:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(send, int, fd, void __user *, buff, size_t, len, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2210:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(send, int, fd, void __user *, buff, size_t, len, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_sendto' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2199:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(sendto, int, fd, void __user *, buff, size_t, len, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:227:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2199:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(sendto, int, fd, void __user *, buff, size_t, len, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_getpeername' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2148:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2148:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_getsockname' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2110:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2110:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_connect' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2072:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2072:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_accept' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2013:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(accept, int, fd, struct sockaddr __user *, upeer_sockaddr, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2013:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(accept, int, fd, struct sockaddr __user *, upeer_sockaddr, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_accept4' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2007:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(accept4, int, fd, struct sockaddr __user *, upeer_sockaddr, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:2007:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(accept4, int, fd, struct sockaddr __user *, upeer_sockaddr, ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_listen' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1888:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(listen, int, fd, int, backlog) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:223:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1888:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(listen, int, fd, int, backlog) ^~~~~~~~~~~~~~~ >> arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_bind' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1856:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:224:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1856:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen) ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:35:14: warning: '__se_sys_socketpair' alias between functions of incompatible types 'long int(ulong, ulong, ulong, ulong, ulong, ulong, ulong)' {aka 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ ^~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1819:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(socketpair, int, family, int, type, int, protocol, ^~~~~~~~~~~~~~~ arch/riscv/include/asm/syscall_wrapper.h:40:14: note: aliased declaration here static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) ^~~~~~ arch/riscv/include/asm/syscall_wrapper.h:81:2: note: in expansion of macro '__SYSCALL_SE_DEFINEx' __SYSCALL_SE_DEFINEx(x, sys, name, __VA_ARGS__) \ ^~~~~~~~~~~~~~~~~~~~ include/linux/syscalls.h:233:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:225:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ net/socket.c:1819:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(socketpair, int, family, int, type, int, protocol, ^~~~~~~~~~~~~~~ .. vim +35 arch/riscv/include/asm/syscall_wrapper.h 16 17 #define __SYSCALL_SE_DEFINEx(x, prefix, name, ...) \ 18 static long __se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ 19 static long __se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) 20 21 #define SC_RISCV_REGS_TO_ARGS(x, ...) \ 22 __MAP(x,__SC_ARGS \ 23 ,,regs->orig_a0,,regs->a1,,regs->a2 \ 24 ,,regs->a3,,regs->a4,,regs->a5,,regs->a6) 25 26 #else 27 /* 28 * Use type aliasing to ensure registers a0-a6 are correctly passed to the syscall 29 * implementation when >word-size arguments are used. 30 */ 31 #define __SYSCALL_SE_DEFINEx(x, prefix, name, ...) \ 32 __diag_push(); \ 33 __diag_ignore(GCC, 8, "-Wattribute-alias", \ 34 "Type aliasing is used to sanitize syscall arguments"); \ > 35 static long __se_##prefix##name(ulong, ulong, ulong, ulong, ulong, ulong, \ 36 ulong) \ 37 __attribute__((alias(__stringify(___se_##prefix##name)))); \ 38 __diag_pop(); \ 39 static long noinline ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ 40 static long ___se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)) 41 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki