From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1223926605091948222==" MIME-Version: 1.0 From: Joel Fernandes To: kbuild-all@lists.01.org Subject: Re: [jfern:coresched 6/34] arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed declarations and code Date: Tue, 17 Nov 2020 19:55:53 -0500 Message-ID: <20201118005553.GA3596614@google.com> In-Reply-To: <202011180750.4pclwRb2-lkp@intel.com> List-Id: --===============1223926605091948222== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Nov 18, 2020 at 07:53:00AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git c= oresched > head: 98d0ec68be26c0bb610f4e55b5634289482ca9d4 > commit: 1498b6039b75b6500e59f7e55ef12b7d2b5bb164 [6/34] sched: Core-wide = rq->lock > config: ia64-randconfig-r011-20201116 (attached as .config) > compiler: ia64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git= /commit/?id=3D1498b6039b75b6500e59f7e55ef12b7d2b5bb164 > git remote add jfern https://git.kernel.org/pub/scm/linux/kernel/= git/jfern/linux.git > git fetch --no-tags jfern coresched > git checkout 1498b6039b75b6500e59f7e55ef12b7d2b5bb164 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Dia64 = I am not sure what kernel test robot is smoking, but this issue is already fixed in the v9 series I posted and in the above branch it refers to: Patch posted: https://lore.kernel.org/patchwork/patch/1340766/ Tag of entire series: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/tag/?h=3Dsc= hed/coresched-v9-posted - Joel > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = > kernel/sched/core.c:6176:6: note: previous definition of 'sched_set_no= rmal' was here > 6176 | void sched_set_normal(struct task_struct *p, int nice) > | ^~~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:7, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > include/linux/export.h:67:2: warning: ISO C90 forbids mixed declaratio= ns and code [-Wdeclaration-after-statement] > 67 | static const struct kernel_symbol __ksymtab_##sym \ > | ^~~~~~ > include/linux/export.h:108:2: note: in expansion of macro '__KSYMTAB_E= NTRY' > 108 | __KSYMTAB_ENTRY(sym, sec) > | ^~~~~~~~~~~~~~~ > include/linux/export.h:147:39: note: in expansion of macro '___EXPORT_= SYMBOL' > 147 | #define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, se= c, ns) > | ^~~~~~~~~~~~~~~~ > include/linux/export.h:155:34: note: in expansion of macro '__EXPORT_S= YMBOL' > 155 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "") > | ^~~~~~~~~~~~~~~ > include/linux/export.h:159:33: note: in expansion of macro '_EXPORT_SY= MBOL' > 159 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "_gpl") > | ^~~~~~~~~~~~~~ > kernel/sched/core.c:6184:1: note: in expansion of macro 'EXPORT_SYMBOL= _GPL' > 6184 | EXPORT_SYMBOL_GPL(sched_set_normal); > | ^~~~~~~~~~~~~~~~~ > kernel/sched/core.c:6187:1: error: invalid storage class for function = 'do_sched_setscheduler' > 6187 | do_sched_setscheduler(pid_t pid, int policy, struct sched_para= m __user *param) > | ^~~~~~~~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'do_sched_setscheduler': > kernel/sched/core.c:6202:19: error: passing argument 1 of 'get_task_st= ruct' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] > 6202 | get_task_struct(p); > | ^ > | | > | struct task_struct * > In file included from include/linux/sched/signal.h:9, > from include/linux/sched/cputime.h:5, > from kernel/sched/sched.h:11, > from kernel/sched/core.c:13: > include/linux/sched/task.h:102:71: note: expected 'struct task_struct = *' but argument is of type 'struct task_struct *' > 102 | static inline struct task_struct *get_task_struct(struct task_= struct *t) > | ~~~~~~~~~~~~= ~~~~~~~~^ > kernel/sched/core.c:6207:19: error: passing argument 1 of 'put_task_st= ruct' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] > 6207 | put_task_struct(p); > | ^ > | | > | struct task_struct * > In file included from include/linux/sched/signal.h:9, > from include/linux/sched/cputime.h:5, > from kernel/sched/sched.h:11, > from kernel/sched/core.c:13: > include/linux/sched/task.h:110:56: note: expected 'struct task_struct = *' but argument is of type 'struct task_struct *' > 110 | static inline void put_task_struct(struct task_struct *t) > | ~~~~~~~~~~~~~~~~~~~~^ > kernel/sched/core.c: In function 'is_migration_disabled': > kernel/sched/core.c:6216:12: error: invalid storage class for function= 'sched_copy_attr' > 6216 | static int sched_copy_attr(struct sched_attr __user *uattr, st= ruct sched_attr *attr) > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > kernel/sched/core.c:6266:69: warning: 'alias' attribute ignored [-Watt= ributes] > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | = ^~~~~~~~~~~ > include/linux/syscalls.h:115:25: note: in definition of macro '__SC_DE= CL' > 115 | #define __SC_DECL(t, a) t a > | ^ > include/linux/syscalls.h:108:35: note: in expansion of macro '__MAP1' > 108 | #define __MAP2(m,t,a,...) m(t,a), __MAP1(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:109:35: note: in expansion of macro '__MAP2' > 109 | #define __MAP3(m,t,a,...) m(t,a), __MAP2(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:113:22: note: in expansion of macro '__MAP3' > 113 | #define __MAP(n,...) __MAP##n(__VA_ARGS__) > | ^~~~~ > include/linux/syscalls.h:238:28: note: in expansion of macro '__MAP' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_setscheduler' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_setscheduler' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_setscheduler' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_setscheduler': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_setscheduler'; did you mean '__se_sys_sched_setscheduler= '? [-Werror=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_setscheduler' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:251:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6266:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6266 | SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, s= truct sched_param __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:52: warning: 'alias' attribute ignored [-Watt= ributes] > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~ > include/linux/syscalls.h:115:25: note: in definition of macro '__SC_DE= CL' > 115 | #define __SC_DECL(t, a) t a > | ^ > include/linux/syscalls.h:108:35: note: in expansion of macro '__MAP1' > 108 | #define __MAP2(m,t,a,...) m(t,a), __MAP1(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:113:22: note: in expansion of macro '__MAP2' > 113 | #define __MAP(n,...) __MAP##n(__VA_ARGS__) > | ^~~~~ > include/linux/syscalls.h:238:28: note: in expansion of macro '__MAP' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_setparam' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_setparam' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_setparam' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_setparam': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_setparam'; did you mean '__se_sys_sched_setparam'? [-Wer= ror=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_setparam' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:251:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6281:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6281 | SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:51: warning: 'alias' attribute ignored [-Watt= ributes] > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~ > include/linux/syscalls.h:115:25: note: in definition of macro '__SC_DE= CL' > 115 | #define __SC_DECL(t, a) t a > | ^ > include/linux/syscalls.h:109:35: note: in expansion of macro '__MAP2' > 109 | #define __MAP3(m,t,a,...) m(t,a), __MAP2(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:113:22: note: in expansion of macro '__MAP3' > 113 | #define __MAP(n,...) __MAP##n(__VA_ARGS__) > | ^~~~~ > include/linux/syscalls.h:238:28: note: in expansion of macro '__MAP' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_setattr' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_setattr' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_setattr' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_setattr': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_setattr'; did you mean '__se_sys_sched_setattr'? [-Werro= r=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_setattr' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__do_sys_sched_setattr': > kernel/sched/core.c:6315:19: error: passing argument 1 of 'get_task_st= ruct' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] > 6315 | get_task_struct(p); > | ^ > | | > | struct task_struct * > In file included from include/linux/sched/signal.h:9, > from include/linux/sched/cputime.h:5, > from kernel/sched/sched.h:11, > from kernel/sched/core.c:13: > include/linux/sched/task.h:102:71: note: expected 'struct task_struct = *' but argument is of type 'struct task_struct *' > 102 | static inline struct task_struct *get_task_struct(struct task_= struct *t) > | ~~~~~~~~~~~~= ~~~~~~~~^ > kernel/sched/core.c:6320:19: error: passing argument 1 of 'put_task_st= ruct' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] > 6320 | put_task_struct(p); > | ^ > | | > | struct task_struct * > In file included from include/linux/sched/signal.h:9, > from include/linux/sched/cputime.h:5, > from kernel/sched/sched.h:11, > from kernel/sched/core.c:13: > include/linux/sched/task.h:110:56: note: expected 'struct task_struct = *' but argument is of type 'struct task_struct *' > 110 | static inline void put_task_struct(struct task_struct *t) > | ~~~~~~~~~~~~~~~~~~~~^ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:215:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 215 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6292:1: note: in expansion of macro 'SYSCALL_DEFIN= E3' > 6292 | SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: warning: 'alias' attribute ignored [-Wattr= ibutes] > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_getscheduler' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_getscheduler' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_getscheduler' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_getscheduler': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_getscheduler'; did you mean '__do_sys_sched_setscheduler= '? [-Werror=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_getscheduler' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__do_sys_sched_getscheduler': > kernel/sched/core.c:6345:39: error: passing argument 1 of 'security_ta= sk_getscheduler' from incompatible pointer type [-Werror=3Dincompatible-poi= nter-types] > 6345 | retval =3D security_task_getscheduler(p); > | ^ > | | > | struct task_struct * > In file included from kernel/sched/sched.h:61, > from kernel/sched/core.c:13: > include/linux/security.h:1115:66: note: expected 'struct task_struct *= ' but argument is of type 'struct task_struct *' > 1115 | static inline int security_task_getscheduler(struct task_struc= t *p) > | ~~~~~~~~~~~~~~~~~= ~~~^ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:213:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 213 | #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6333:1: note: in expansion of macro 'SYSCALL_DEFIN= E1' > 6333 | SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:52: warning: 'alias' attribute ignored [-Watt= ributes] > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~ > include/linux/syscalls.h:115:25: note: in definition of macro '__SC_DE= CL' > 115 | #define __SC_DECL(t, a) t a > | ^ > include/linux/syscalls.h:108:35: note: in expansion of macro '__MAP1' > 108 | #define __MAP2(m,t,a,...) m(t,a), __MAP1(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:113:22: note: in expansion of macro '__MAP2' > 113 | #define __MAP(n,...) __MAP##n(__VA_ARGS__) > | ^~~~~ > include/linux/syscalls.h:238:28: note: in expansion of macro '__MAP' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_getparam' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_getparam' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_getparam' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_getparam': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_getparam'; did you mean '__do_sys_sched_setparam'? [-Wer= ror=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_getparam' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__do_sys_sched_getparam': > kernel/sched/core.c:6377:38: error: passing argument 1 of 'security_ta= sk_getscheduler' from incompatible pointer type [-Werror=3Dincompatible-poi= nter-types] > 6377 | retval =3D security_task_getscheduler(p); > | ^ > | | > | struct task_struct * > In file included from kernel/sched/sched.h:61, > from kernel/sched/core.c:13: > include/linux/security.h:1115:66: note: expected 'struct task_struct *= ' but argument is of type 'struct task_struct *' > 1115 | static inline int security_task_getscheduler(struct task_struc= t *p) > | ~~~~~~~~~~~~~~~~~= ~~~^ > kernel/sched/core.c:6381:25: error: passing argument 1 of 'task_has_rt= _policy' from incompatible pointer type [-Werror=3Dincompatible-pointer-typ= es] > 6381 | if (task_has_rt_policy(p)) > | ^ > | | > | struct task_struct * > In file included from kernel/sched/core.c:13: > kernel/sched/sched.h:189:58: note: expected 'struct task_struct *' but= argument is of type 'struct task_struct *' > 189 | static inline int task_has_rt_policy(struct task_struct *p) > | ~~~~~~~~~~~~~~~~~~~~^ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:214:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 214 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6362:1: note: in expansion of macro 'SYSCALL_DEFIN= E2' > 6362 | SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param= __user *, param) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6406:1: error: invalid storage class for function = 'sched_attr_copy_to_user' > 6406 | sched_attr_copy_to_user(struct sched_attr __user *uattr, > | ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > kernel/sched/core.c:6443:51: warning: 'alias' attribute ignored [-Watt= ributes] > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~ > include/linux/syscalls.h:115:25: note: in definition of macro '__SC_DE= CL' > 115 | #define __SC_DECL(t, a) t a > | ^ > include/linux/syscalls.h:110:35: note: in expansion of macro '__MAP3' > 110 | #define __MAP4(m,t,a,...) m(t,a), __MAP3(m,__VA_ARGS__) > | ^~~~~~ > include/linux/syscalls.h:113:22: note: in expansion of macro '__MAP4' > 113 | #define __MAP(n,...) __MAP##n(__VA_ARGS__) > | ^~~~~ > include/linux/syscalls.h:238:28: note: in expansion of macro '__MAP' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > In file included from include/linux/linkage.h:8, > from include/linux/kernel.h:8, > from include/linux/list.h:9, > from include/linux/rculist.h:10, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from include/linux/sched/numa_balancing.h:10, > from include/trace/events/sched.h:8, > from kernel/sched/core.c:10: > >> arch/ia64/include/asm/linkage.h:7:35: warning: ISO C90 forbids mixed d= eclarations and code [-Wdeclaration-after-statement] > 7 | #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linka= ge)) > | ^~~~~~~~~~~~~ > include/linux/syscalls.h:238:2: note: in expansion of macro 'asmlinkag= e' > 238 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > | ^~~~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > In file included from kernel/sched/sched.h:65, > from kernel/sched/core.c:13: > include/linux/syscalls.h:241:21: error: invalid storage class for func= tion '__do_sys_sched_getattr' > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:241:2: warning: ISO C90 forbids mixed declara= tions and code [-Wdeclaration-after-statement] > 241 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __));\ > | ^~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:243:18: error: static declaration of '__se_sy= s_sched_getattr' follows non-static declaration > 243 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ) \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > include/linux/syscalls.h:242:18: note: previous declaration of '__se_s= ys_sched_getattr' was here > 242 | asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)= ); \ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__se_sys_sched_getattr': > include/linux/syscalls.h:245:14: error: implicit declaration of functi= on '__do_sys_sched_getattr'; did you mean '__do_sys_sched_setattr'? [-Werro= r=3Dimplicit-function-declaration] > 245 | long ret =3D __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function 'is_migration_disabled': > include/linux/syscalls.h:251:21: error: invalid storage class for func= tion '__do_sys_sched_getattr' > 251 | static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS= __)) > | ^~~~~~~~ > include/linux/syscalls.h:224:2: note: in expansion of macro '__SYSCALL= _DEFINEx' > 224 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > | ^~~~~~~~~~~~~~~~~ > include/linux/syscalls.h:216:36: note: in expansion of macro 'SYSCALL_= DEFINEx' > 216 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name,= __VA_ARGS__) > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c:6443:1: note: in expansion of macro 'SYSCALL_DEFIN= E4' > 6443 | SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr _= _user *, uattr, > | ^~~~~~~~~~~~~~~ > kernel/sched/core.c: In function '__do_sys_sched_getattr': > kernel/sched/core.c:6460:38: error: passing argument 1 of 'security_ta= sk_getscheduler' from incompatible pointer type [-Werror=3Dincompatible-poi= nter-types] > 6460 | retval =3D security_task_getscheduler(p); > | ^ > | | > | struct task_struct * > In file included from kernel/sched/sched.h:61, > from kernel/sched/core.c:13: > include/linux/security.h:1115:66: note: expected 'struct task_struct *= ' but argument is of type 'struct task_struct *' > 1115 | static inline int security_task_getscheduler(struct task_struc= t *p) > .. > = > vim +7 arch/ia64/include/asm/linkage.h > = > ab7efcc97ebc92e include/asm-ia64/linkage.h Jan Beulich 2006-03-24 6 = > ^1da177e4c3f415 include/asm-ia64/linkage.h Linus Torvalds 2005-04-16 @7 = #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage)) > ^1da177e4c3f415 include/asm-ia64/linkage.h Linus Torvalds 2005-04-16 8 = > = > :::::: The code at line 7 was first introduced by commit > :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 > = > :::::: TO: Linus Torvalds > :::::: CC: Linus Torvalds > = > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1223926605091948222==--