All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.10-2021-10 1944/10941] kernel/cpu.c:1098:5: warning: no previous prototype for '__pause_drain_rq'
@ 2022-01-01 17:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-01 17:19 UTC (permalink / raw)
  To: kbuild-all

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

Hi Vincent,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android12-5.10-2021-10
head:   5369db4507b0f1e91f525379a20aa2b5d4ef10a0
commit: e19b8ce907a4ccc2f9dbeba218c50d1ff07fd321 [1944/10941] ANDROID: cpu/hotplug: add migration to paused_cpus
config: i386-buildonly-randconfig-r003-20211111 (https://download.01.org/0day-ci/archive/20220102/202201020111.k5AVoni8-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add android-common https://android.googlesource.com/kernel/common
        git fetch --no-tags android-common android12-5.10-2021-10
        git checkout e19b8ce907a4ccc2f9dbeba218c50d1ff07fd321
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

>> kernel/cpu.c:1098:5: warning: no previous prototype for '__pause_drain_rq' [-Wmissing-prototypes]
    1098 | int __pause_drain_rq(struct cpumask *cpus)
         |     ^~~~~~~~~~~~~~~~
>> kernel/cpu.c:1118:6: warning: no previous prototype for '__wait_drain_rq' [-Wmissing-prototypes]
    1118 | void __wait_drain_rq(struct cpumask *cpus)
         |      ^~~~~~~~~~~~~~~


vim +/__pause_drain_rq +1098 kernel/cpu.c

  1097	
> 1098	int __pause_drain_rq(struct cpumask *cpus)
  1099	{
  1100		unsigned int cpu;
  1101		int err = 0;
  1102	
  1103		/*
  1104		 * Disabling preemption avoids that one of the stopper, started from
  1105		 * sched_cpu_drain_rq(), blocks firing draining for the whole cpumask.
  1106		 */
  1107		preempt_disable();
  1108		for_each_cpu(cpu, cpus) {
  1109			err = sched_cpu_drain_rq(cpu);
  1110			if (err)
  1111				break;
  1112		}
  1113		preempt_enable();
  1114	
  1115		return err;
  1116	}
  1117	
> 1118	void __wait_drain_rq(struct cpumask *cpus)
  1119	{
  1120		unsigned int cpu;
  1121	
  1122		for_each_cpu(cpu, cpus)
  1123			sched_cpu_drain_rq_wait(cpu);
  1124	}
  1125	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

only message in thread, other threads:[~2022-01-01 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 17:19 [android-common:android12-5.10-2021-10 1944/10941] kernel/cpu.c:1098:5: warning: no previous prototype for '__pause_drain_rq' 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.