Re: [PATCH] genirq: Own affinity hint

From: kernel test robot
Date: Thu Oct 26 2023 - 08:35:28 EST


Hi Jakub,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/irq/core]
[also build test WARNING on linus/master v6.6-rc7 next-20231026]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Jakub-Sitnicki/genirq-Own-affinity-hint/20231026-001606
base: tip/irq/core
patch link: https://lore.kernel.org/r/20231025141517.375378-1-jakub%40cloudflare.com
patch subject: [PATCH] genirq: Own affinity hint
config: mips-malta_kvm_defconfig (https://download.01.org/0day-ci/archive/20231026/202310262054.v57mGz1Z-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310262054.v57mGz1Z-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310262054.v57mGz1Z-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/irq/irqdesc.c:75:1: warning: unused label 'err_pending_mask' [-Wunused-label]
err_pending_mask:
^~~~~~~~~~~~~~~~~
1 warning generated.


vim +/err_pending_mask +75 kernel/irq/irqdesc.c

68
69 #ifdef CONFIG_GENERIC_PENDING_IRQ
70 if (!zalloc_cpumask_var_node(&desc->pending_mask, GFP_KERNEL, node))
71 goto err_pending_mask;
72 #endif
73 return 0;
74
> 75 err_pending_mask:
76 #ifdef CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK
77 free_cpumask_var(desc->irq_common_data.effective_affinity);
78 #endif
79 err_effective_affinity:
80 free_cpumask_var(desc->irq_common_data.affinity_hint);
81 err_affinity_hint:
82 free_cpumask_var(desc->irq_common_data.affinity);
83 err_affinity:
84 return -ENOMEM;
85 }
86

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