All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/wip-freezer 1/3] include/linux/suspend.h:546:40: error: parameter name omitted
@ 2021-06-14 20:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-14 20:36 UTC (permalink / raw)
  To: kbuild-all

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

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/?id=83d18804b7330928d3176cd76939cf558581e092
        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@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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-14 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 20:36 [peterz-queue:sched/wip-freezer 1/3] include/linux/suspend.h:546:40: error: parameter name omitted kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.