All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 2/5] futex2: Implement vectorized wait
Date: Sun, 05 Sep 2021 08:59:04 +0800	[thread overview]
Message-ID: <202109050843.nShLOBzK-lkp@intel.com> (raw)
In-Reply-To: <20210904231159.13292-3-andrealmeid@collabora.com>

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

Hi "André,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on next-20210903]
[cannot apply to tip/locking/core asm-generic/master tip/x86/asm v5.14]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Andr-Almeida/futex2-Add-wait-on-multiple-futexes-syscall/20210905-071424
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d
config: alpha-randconfig-r035-20210905 (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/9bd5ae4e55f30178347d0bc62e16ce0f009e78e0
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andr-Almeida/futex2-Add-wait-on-multiple-futexes-syscall/20210905-071424
        git checkout 9bd5ae4e55f30178347d0bc62e16ce0f009e78e0
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash kernel/sched/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from kernel/sched/sched.h:41,
                    from kernel/sched/core.c:13:
>> include/linux/compat.h:691:40: warning: 'struct futex_waitv' declared inside parameter list will not be visible outside of this definition or declaration
     691 | asmlinkage long sys_futex_waitv(struct futex_waitv *waiters,
         |                                        ^~~~~~~~~~~
   kernel/sched/core.c: In function 'ttwu_stat':
   kernel/sched/core.c:3482:20: warning: variable 'rq' set but not used [-Wunused-but-set-variable]
    3482 |         struct rq *rq;
         |                    ^~
--
   In file included from kernel/sched/sched.h:41,
                    from kernel/sched/loadavg.c:9:
>> include/linux/compat.h:691:40: warning: 'struct futex_waitv' declared inside parameter list will not be visible outside of this definition or declaration
     691 | asmlinkage long sys_futex_waitv(struct futex_waitv *waiters,
         |                                        ^~~~~~~~~~~
--
   In file included from kernel/sched/sched.h:41,
                    from kernel/sched/fair.c:23:
>> include/linux/compat.h:691:40: warning: 'struct futex_waitv' declared inside parameter list will not be visible outside of this definition or declaration
     691 | asmlinkage long sys_futex_waitv(struct futex_waitv *waiters,
         |                                        ^~~~~~~~~~~
   kernel/sched/fair.c:5482:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes]
    5482 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
         |      ^~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11604:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes]
   11604 | void free_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11606:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes]
   11606 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
         |     ^~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11611:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes]
   11611 | void online_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/fair.c:11613:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes]
   11613 | void unregister_fair_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from kernel/sched/sched.h:41,
                    from kernel/sched/rt.c:6:
>> include/linux/compat.h:691:40: warning: 'struct futex_waitv' declared inside parameter list will not be visible outside of this definition or declaration
     691 | asmlinkage long sys_futex_waitv(struct futex_waitv *waiters,
         |                                        ^~~~~~~~~~~
   kernel/sched/rt.c:253:6: warning: no previous prototype for 'free_rt_sched_group' [-Wmissing-prototypes]
     253 | void free_rt_sched_group(struct task_group *tg) { }
         |      ^~~~~~~~~~~~~~~~~~~
   kernel/sched/rt.c:255:5: warning: no previous prototype for 'alloc_rt_sched_group' [-Wmissing-prototypes]
     255 | int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
         |     ^~~~~~~~~~~~~~~~~~~~
   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 +691 include/linux/compat.h

   675	
   676	/* kernel/exit.c */
   677	asmlinkage long compat_sys_waitid(int, compat_pid_t,
   678			struct compat_siginfo __user *, int,
   679			struct compat_rusage __user *);
   680	
   681	
   682	
   683	/* kernel/futex.c */
   684	asmlinkage long
   685	compat_sys_set_robust_list(struct compat_robust_list_head __user *head,
   686				   compat_size_t len);
   687	asmlinkage long
   688	compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
   689				   compat_size_t __user *len_ptr);
   690	
 > 691	asmlinkage long sys_futex_waitv(struct futex_waitv *waiters,
   692					compat_uint_t nr_futexes, compat_uint_t flags,
   693					struct __kernel_timespec __user *timo);
   694	/* kernel/itimer.c */
   695	asmlinkage long compat_sys_getitimer(int which,
   696					     struct old_itimerval32 __user *it);
   697	asmlinkage long compat_sys_setitimer(int which,
   698					     struct old_itimerval32 __user *in,
   699					     struct old_itimerval32 __user *out);
   700	

---
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: 30942 bytes --]

  parent reply	other threads:[~2021-09-05  0:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 23:11 [PATCH v2 0/5] futex2: Add wait on multiple futexes syscall André Almeida
2021-09-04 23:11 ` [PATCH v2 1/5] futex: Prepare for futex_wait_multiple() André Almeida
2021-09-04 23:11 ` [PATCH v2 2/5] futex2: Implement vectorized wait André Almeida
2021-09-05  0:58   ` kernel test robot
2021-09-05  0:58     ` kernel test robot
2021-09-05  0:59   ` kernel test robot [this message]
2021-09-04 23:11 ` [PATCH v2 3/5] futex2: wire up syscall for x86 André Almeida
2021-09-05 10:14   ` kernel test robot
2021-09-05 10:14     ` kernel test robot
2021-09-04 23:11 ` [PATCH v2 4/5] selftests: futex2: Add waitv test André Almeida
2021-09-04 23:11 ` [PATCH v2 5/5] selftests: futex2: Test futex_waitv timeout André Almeida

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109050843.nShLOBzK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.