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

- From: kernel test robot \<hidden\>
- Date: 2020-07-17 15:38:42 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/07/6040164
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/07/6039928/t.md

```text
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 <redacted>

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
```

## Attachments

- [.config.gz](https://ratatoskr.run/linux-arm-kernel/2020/07/6040164/attachment/0) (application/gzip, 18612 bytes)
- [(unnamed)](https://ratatoskr.run/linux-arm-kernel/2020/07/6040164/attachment/1) (text/plain, 176 bytes)
