tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
sched/wip-freezer
head: 9ddb4cc740408e85babad7482f50e1b4d2490759
commit: 83d18804b7330928d3176cd76939cf558581e092 [1/3] freezer: Have
{,un}lock_system_sleep() save/restore flags
config: openrisc-randconfig-r013-20210613 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/wip-freezer
git checkout 83d18804b7330928d3176cd76939cf558581e092
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from init/do_mounts.c:7:
include/linux/suspend.h: In function 'unlock_system_sleep':
> include/linux/suspend.h:546:40: error: parameter name omitted
546 | static inline void unlock_system_sleep(unsigned int) {}
| ^~~~~~~~~~~~
--
In file included from kernel/sched/sched.h:65,
from kernel/sched/core.c:13:
include/linux/suspend.h: In function 'unlock_system_sleep':
> include/linux/suspend.h:546:40: error: parameter name omitted
546 | static inline void unlock_system_sleep(unsigned int) {}
| ^~~~~~~~~~~~
kernel/sched/core.c: In function 'ttwu_stat':
kernel/sched/core.c:3282:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
3282 | struct rq *rq;
| ^~
--
In file included from kernel/sched/sched.h:65,
from kernel/sched/fair.c:23:
include/linux/suspend.h: In function 'unlock_system_sleep':
> include/linux/suspend.h:546:40: error: parameter name omitted
546 | static inline void unlock_system_sleep(unsigned int) {}
| ^~~~~~~~~~~~
kernel/sched/fair.c: At top level:
kernel/sched/fair.c:591:5: warning: no previous prototype for
'sched_update_scaling' [-Wmissing-prototypes]
591 | int sched_update_scaling(void)
| ^~~~~~~~~~~~~~~~~~~~
--
In file included from kernel/sched/sched.h:65,
from kernel/sched/rt.c:6:
include/linux/suspend.h: In function 'unlock_system_sleep':
> include/linux/suspend.h:546:40: error: parameter name omitted
546 | static inline void unlock_system_sleep(unsigned int) {}
| ^~~~~~~~~~~~
kernel/sched/rt.c: At top level:
kernel/sched/rt.c:669:6: warning: no previous prototype for
'sched_rt_bandwidth_account' [-Wmissing-prototypes]
669 | bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +546 include/linux/suspend.h
544
545 static inline unsigned int lock_system_sleep(void) { return 0; }
546 static inline void unlock_system_sleep(unsigned int) {}
547
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org