linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/powerpc/platforms/pseries/vas.c:186:13: sparse: sparse: symbol 'pseries_vas_fault_thread_fn' was not declared. Should it be static?
@ 2021-07-27 11:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-27 11:00 UTC (permalink / raw)
  To: Haren Myneni; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Nicholas Piggin

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ff1176468d368232b684f75e82563369208bc371
commit: 6d0aaf5e0de00491de136f387ebed55604cedebe powerpc/pseries/vas: Setup IRQ and fault handling
date:   5 weeks ago
config: powerpc-randconfig-s031-20210727 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6d0aaf5e0de00491de136f387ebed55604cedebe
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 6d0aaf5e0de00491de136f387ebed55604cedebe
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/platforms/pseries/ drivers/crypto/nx/

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


sparse warnings: (new ones prefixed by >>)
>> arch/powerpc/platforms/pseries/vas.c:186:13: sparse: sparse: symbol 'pseries_vas_fault_thread_fn' was not declared. Should it be static?

vim +/pseries_vas_fault_thread_fn +186 arch/powerpc/platforms/pseries/vas.c

   177	
   178	/*
   179	 * Handle the fault interrupt.
   180	 * When the fault interrupt is received for each window, query the
   181	 * hypervisor to get the fault CRB on the specific fault. Then
   182	 * process the CRB by updating CSB or send signal if the user space
   183	 * CSB is invalid.
   184	 * Note: The hypervisor forwards an interrupt for each fault request.
   185	 *	So one fault CRB to process for each H_GET_NX_FAULT hcall.
 > 186	 */
   187	irqreturn_t pseries_vas_fault_thread_fn(int irq, void *data)
   188	{
   189		struct pseries_vas_window *txwin = data;
   190		struct coprocessor_request_block crb;
   191		struct vas_user_win_ref *tsk_ref;
   192		int rc;
   193	
   194		rc = h_get_nx_fault(txwin->vas_win.winid, (u64)virt_to_phys(&crb));
   195		if (!rc) {
   196			tsk_ref = &txwin->vas_win.task_ref;
   197			vas_dump_crb(&crb);
   198			vas_update_csb(&crb, tsk_ref);
   199		}
   200	
   201		return IRQ_HANDLED;
   202	}
   203	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29364 bytes --]

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

only message in thread, other threads:[~2021-07-27 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 11:00 arch/powerpc/platforms/pseries/vas.c:186:13: sparse: sparse: symbol 'pseries_vas_fault_thread_fn' was not declared. Should it be static? 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;
as well as URLs for NNTP newsgroup(s).