[PATCH] genirq/affinity: Handle affinity setting on inactive interrupts correctly

kernel test robot lkp at intel.com
Fri Jul 17 11:25:58 EDT 2020


Hi Thomas,

I love your patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on tip/x86/core tip/irq/core linus/master v5.8-rc5 next-20200717]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Thomas-Gleixner/genirq-affinity-Handle-affinity-setting-on-inactive-interrupts-correctly/20200717-211602
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
config: parisc-defconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc 

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

All error/warnings (new ones prefixed by >>):

>> kernel/irq/manage.c:217:15: error: unknown type name 'boot'
     217 | static inline boot irq_init_effective_affinity(struct irq_data *data,
         |               ^~~~
   kernel/irq/manage.c: In function 'irq_init_effective_affinity':
>> kernel/irq/manage.c:218:26: warning: no return statement in function returning non-void [-Wreturn-type]
     218 |             const struct cpumask *mask) { }
         |                          ^~~~~~~

vim +/boot +217 kernel/irq/manage.c

   209	
   210	static inline void irq_init_effective_affinity(struct irq_data *data,
   211						       const struct cpumask *mask)
   212	{
   213		cpumask_copy(irq_data_get_effective_affinity_mask(data), mask);
   214	}
   215	#else
   216	static inline void irq_validate_effective_affinity(struct irq_data *data) { }
 > 217	static inline boot irq_init_effective_affinity(struct irq_data *data,
 > 218						       const struct cpumask *mask) { }
   219	#endif
   220	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 18612 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200717/72c44729/attachment-0001.gz>


More information about the linux-arm-kernel mailing list