mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [mingo-tip:sched/headers 84/2356] arch/x86/kernel/../../../kernel/sched/per_task_area_struct_defs.h:9:13: warning: no previous prototype for 'per_task_common'
@ 2022-04-18 23:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-18 23:49 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   af93551cf39027d176f30b9beafc60a4c130998a
commit: dcac6390a2220f99834d2d14650fb82f2da9136b [84/2356] headers/deps: per_task: Add the per_task infrastructure for x86, arm64, sparc and MIPS
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220419/202204190747.ud30HF2B-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=dcac6390a2220f99834d2d14650fb82f2da9136b
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout dcac6390a2220f99834d2d14650fb82f2da9136b
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 prepare

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 arch/x86/kernel/asm-offsets.c:34:
>> arch/x86/kernel/../../../kernel/sched/per_task_area_struct_defs.h:9:13: warning: no previous prototype for 'per_task_common' [-Wmissing-prototypes]
       9 | void __used per_task_common(void)
         |             ^~~~~~~~~~~~~~~
--
   In file included from arch/x86/kernel/asm-offsets.c:34:
>> arch/x86/kernel/../../../kernel/sched/per_task_area_struct_defs.h:9:13: warning: no previous prototype for 'per_task_common' [-Wmissing-prototypes]
       9 | void __used per_task_common(void)
         |             ^~~~~~~~~~~~~~~


vim +/per_task_common +9 arch/x86/kernel/../../../kernel/sched/per_task_area_struct_defs.h

     8	
   > 9	void __used per_task_common(void)
    10	{
    11	#ifdef CONFIG_THREAD_INFO_IN_TASK
    12		DEF_PER_TASK(ti);
    13	#endif
    14		DEF_PER_TASK(stack);
    15		DEF_PER_TASK(usage);
    16		DEF_PER_TASK(flags);
    17		DEF_PER_TASK(ptrace);
    18	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-04-18 23:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 23:49 [mingo-tip:sched/headers 84/2356] arch/x86/kernel/../../../kernel/sched/per_task_area_struct_defs.h:9:13: warning: no previous prototype for 'per_task_common' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®