All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/629 2959/9838] drivers/irqchip/irq-imx-gpcv2.c:91:6: warning: no previous prototype for 'imx_gpcv2_raise_softirq'
@ 2023-04-18 10:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-18 10:46 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

tree:   https://github.com/Freescale/linux-fslc pr/629
head:   d1033c2e51746dfdb7179c82e38b03ba7de39c63
commit: 24467b72b33a0463acff6ee96c4ce75ef0009356 [2959/9838] LF-2438 drivers: irqchip: irq-imx-gpcv2: Remove the smp_cross_call reference
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230418/202304181853.3TPmROy9-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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://github.com/Freescale/linux-fslc/commit/24467b72b33a0463acff6ee96c4ce75ef0009356
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc pr/629
        git checkout 24467b72b33a0463acff6ee96c4ce75ef0009356
        # 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=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304181853.3TPmROy9-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-imx-gpcv2.c:91:6: warning: no previous prototype for 'imx_gpcv2_raise_softirq' [-Wmissing-prototypes]
      91 | void imx_gpcv2_raise_softirq(const struct cpumask *mask,
         |      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-imx-gpcv2.c:224:5: warning: no previous prototype for 'imx8mq_gpcv2_irq_set_affinity' [-Wmissing-prototypes]
     224 | int imx8mq_gpcv2_irq_set_affinity(struct irq_data *d, const struct cpumask *cpumask,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/imx_gpcv2_raise_softirq +91 drivers/irqchip/irq-imx-gpcv2.c

    89	
    90	#ifdef CONFIG_SMP
  > 91	void imx_gpcv2_raise_softirq(const struct cpumask *mask,
    92						  unsigned int irq)
    93	{
    94		struct arm_smccc_res res;
    95	
    96		if (!err11171)
    97			return;
    98	
    99		/* now call into EL3 and take care of the wakeup */
   100		arm_smccc_smc(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_CORE_WAKE,
   101				*cpumask_bits(mask), 0, 0, 0, 0, 0, &res);
   102	}
   103	#endif
   104	

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

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

only message in thread, other threads:[~2023-04-18 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 10:46 [freescale-fslc:pr/629 2959/9838] drivers/irqchip/irq-imx-gpcv2.c:91:6: warning: no previous prototype for 'imx_gpcv2_raise_softirq' 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.