lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301081004.SIMs2Y9Y-lkp@intel.com>
Date:   Sun, 8 Jan 2023 10:45:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Huacai Chen <chenhuacai@...ngson.cn>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/loongarch/kernel/asm-offsets.c:262:6: warning: no previous
 prototype for 'output_pbe_defines'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9b43a525db125799df81e6fbef712a2ae50bfc5d
commit: 7db54bfe44a662c8f2c10277bccfa02c2f4c719c LoongArch: Add hibernation (ACPI S4) support
date:   4 weeks ago
config: loongarch-allyesconfig
compiler: loongarch64-linux-gcc (GCC) 12.1.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/torvalds/linux.git/commit/?id=7db54bfe44a662c8f2c10277bccfa02c2f4c719c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7db54bfe44a662c8f2c10277bccfa02c2f4c719c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch prepare

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   arch/loongarch/kernel/asm-offsets.c:16:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes]
      16 | void output_ptreg_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:63:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes]
      63 | void output_task_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:75:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes]
      75 | void output_thread_info_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:91:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes]
      91 | void output_thread_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:134:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes]
     134 | void output_thread_fpu_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:174:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes]
     174 | void output_mm_defines(void)
         |      ^~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:206:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes]
     206 | void output_sc_defines(void)
         |      ^~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:214:6: warning: no previous prototype for 'output_signal_defines' [-Wmissing-prototypes]
     214 | void output_signal_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:252:6: warning: no previous prototype for 'output_smpboot_defines' [-Wmissing-prototypes]
     252 | void output_smpboot_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/asm-offsets.c:262:6: warning: no previous prototype for 'output_pbe_defines' [-Wmissing-prototypes]
     262 | void output_pbe_defines(void)
         |      ^~~~~~~~~~~~~~~~~~
--
   arch/loongarch/kernel/asm-offsets.c:16:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes]
      16 | void output_ptreg_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:63:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes]
      63 | void output_task_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:75:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes]
      75 | void output_thread_info_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:91:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes]
      91 | void output_thread_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:134:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes]
     134 | void output_thread_fpu_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:174:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes]
     174 | void output_mm_defines(void)
         |      ^~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:206:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes]
     206 | void output_sc_defines(void)
         |      ^~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:214:6: warning: no previous prototype for 'output_signal_defines' [-Wmissing-prototypes]
     214 | void output_signal_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/loongarch/kernel/asm-offsets.c:252:6: warning: no previous prototype for 'output_smpboot_defines' [-Wmissing-prototypes]
     252 | void output_smpboot_defines(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/asm-offsets.c:262:6: warning: no previous prototype for 'output_pbe_defines' [-Wmissing-prototypes]
     262 | void output_pbe_defines(void)
         |      ^~~~~~~~~~~~~~~~~~
   <stdin>:569:2: warning: #warning syscall fstat not implemented [-Wcpp]


vim +/output_pbe_defines +262 arch/loongarch/kernel/asm-offsets.c

   205	
 > 206	void output_sc_defines(void)
   207	{
   208		COMMENT("Linux sigcontext offsets.");
   209		OFFSET(SC_REGS, sigcontext, sc_regs);
   210		OFFSET(SC_PC, sigcontext, sc_pc);
   211		BLANK();
   212	}
   213	
   214	void output_signal_defines(void)
   215	{
   216		COMMENT("Linux signal numbers.");
   217		DEFINE(_SIGHUP, SIGHUP);
   218		DEFINE(_SIGINT, SIGINT);
   219		DEFINE(_SIGQUIT, SIGQUIT);
   220		DEFINE(_SIGILL, SIGILL);
   221		DEFINE(_SIGTRAP, SIGTRAP);
   222		DEFINE(_SIGIOT, SIGIOT);
   223		DEFINE(_SIGABRT, SIGABRT);
   224		DEFINE(_SIGFPE, SIGFPE);
   225		DEFINE(_SIGKILL, SIGKILL);
   226		DEFINE(_SIGBUS, SIGBUS);
   227		DEFINE(_SIGSEGV, SIGSEGV);
   228		DEFINE(_SIGSYS, SIGSYS);
   229		DEFINE(_SIGPIPE, SIGPIPE);
   230		DEFINE(_SIGALRM, SIGALRM);
   231		DEFINE(_SIGTERM, SIGTERM);
   232		DEFINE(_SIGUSR1, SIGUSR1);
   233		DEFINE(_SIGUSR2, SIGUSR2);
   234		DEFINE(_SIGCHLD, SIGCHLD);
   235		DEFINE(_SIGPWR, SIGPWR);
   236		DEFINE(_SIGWINCH, SIGWINCH);
   237		DEFINE(_SIGURG, SIGURG);
   238		DEFINE(_SIGIO, SIGIO);
   239		DEFINE(_SIGSTOP, SIGSTOP);
   240		DEFINE(_SIGTSTP, SIGTSTP);
   241		DEFINE(_SIGCONT, SIGCONT);
   242		DEFINE(_SIGTTIN, SIGTTIN);
   243		DEFINE(_SIGTTOU, SIGTTOU);
   244		DEFINE(_SIGVTALRM, SIGVTALRM);
   245		DEFINE(_SIGPROF, SIGPROF);
   246		DEFINE(_SIGXCPU, SIGXCPU);
   247		DEFINE(_SIGXFSZ, SIGXFSZ);
   248		BLANK();
   249	}
   250	
   251	#ifdef CONFIG_SMP
   252	void output_smpboot_defines(void)
   253	{
   254		COMMENT("Linux smp cpu boot offsets.");
   255		OFFSET(CPU_BOOT_STACK, secondary_data, stack);
   256		OFFSET(CPU_BOOT_TINFO, secondary_data, thread_info);
   257		BLANK();
   258	}
   259	#endif
   260	
   261	#ifdef CONFIG_HIBERNATION
 > 262	void output_pbe_defines(void)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

View attachment "config" of type "text/plain" (329862 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ