* [intel-lts:4.19/android_s 14660/30000] kernel/sched/stubs.c:8:5: warning: no previous prototype for 'sched_isolate_cpu'
@ 2023-08-07 1:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-07 1:11 UTC (permalink / raw)
Cc: oe-kbuild-all
Hi Quentin,
FYI, the error/warning still remains.
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_s
head: 7f46da99d47faba52b98b09371755ba4821a116d
commit: eead51495c8760858c32d9ad0332ffc94397aa82 [14660/30000] ANDROID: GKI: sched: stub sched_isolate symbols
config: h8300-allnoconfig (https://download.01.org/0day-ci/archive/20230807/202308070938.Vs2uFYOF-lkp@intel.com/config)
compiler: h8300-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230807/202308070938.Vs2uFYOF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308070938.Vs2uFYOF-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/h8300/include/asm/bug.h:8,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/current.h:5,
from ./arch/h8300/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from kernel/sched/sched.h:5,
from kernel/sched/stubs.c:6:
include/linux/dma-mapping.h: In function 'dma_map_resource':
include/asm-generic/page.h:91:40: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits]
91 | #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/asm-generic/bug.h:188:36: note: in definition of macro 'BUG_ON'
188 | #define BUG_ON(condition) do { if (condition) BUG(); } while (0)
| ^~~~~~~~~
include/linux/dma-mapping.h:338:16: note: in expansion of macro 'pfn_valid'
338 | BUG_ON(pfn_valid(PHYS_PFN(phys_addr)));
| ^~~~~~~~~
kernel/sched/stubs.c: At top level:
>> kernel/sched/stubs.c:8:5: warning: no previous prototype for 'sched_isolate_cpu' [-Wmissing-prototypes]
8 | int sched_isolate_cpu(int cpu)
| ^~~~~~~~~~~~~~~~~
>> kernel/sched/stubs.c:14:5: warning: no previous prototype for 'sched_unisolate_cpu_unlocked' [-Wmissing-prototypes]
14 | int sched_unisolate_cpu_unlocked(int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sched/stubs.c:20:5: warning: no previous prototype for 'sched_unisolate_cpu' [-Wmissing-prototypes]
20 | int sched_unisolate_cpu(int cpu)
| ^~~~~~~~~~~~~~~~~~~
>> kernel/sched/stubs.c:26:5: warning: no previous prototype for 'set_task_boost' [-Wmissing-prototypes]
26 | int set_task_boost(int boost, u64 period)
| ^~~~~~~~~~~~~~
vim +/sched_isolate_cpu +8 kernel/sched/stubs.c
7
> 8 int sched_isolate_cpu(int cpu)
9 {
10 return -EINVAL;
11 }
12 EXPORT_SYMBOL_GPL(sched_isolate_cpu);
13
> 14 int sched_unisolate_cpu_unlocked(int cpu)
15 {
16 return -EINVAL;
17 }
18 EXPORT_SYMBOL_GPL(sched_unisolate_cpu_unlocked);
19
> 20 int sched_unisolate_cpu(int cpu)
21 {
22 return -EINVAL;
23 }
24 EXPORT_SYMBOL_GPL(sched_unisolate_cpu);
25
> 26 int set_task_boost(int boost, u64 period)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-07 1:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 1:11 [intel-lts:4.19/android_s 14660/30000] kernel/sched/stubs.c:8:5: warning: no previous prototype for 'sched_isolate_cpu' 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.