Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
From: kernel test robot
Date: Thu Dec 03 2026 - 23:55:42 EST
Hi Sreeraj,
kernel test robot noticed the following build errors:
[auto build test ERROR on tiwai-sound/for-next]
[also build test ERROR on tiwai-sound/for-linus broonie-sound/for-next linus/master v7.4-rc5 next-20261203]
[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/Sreeraj-S-Kurup/ALSA-hda-core-Fix-command-creation-error-handling/20261203-170500
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20261203170741.3873-3-sreekuttan2156239%40gmail.com
patch subject: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
config: parisc-randconfig-1001-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204125206.uCtXT7cD-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204125206.uCtXT7cD-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/20261204125206.uCtXT7cD-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
sound/hda/core/hdmi_chmap.c: In function 'hdmi_set_channel_count':
sound/hda/core/hdmi_chmap.c:221:9: error: function declaration isn't a prototype [-Werror=strict-prototypes]
221 | int current;
| ^~~
In file included from include/linux/mutex.h:14,
from include/linux/kernfs.h:11,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/module.h:22,
from sound/hda/core/hdmi_chmap.c:6:
>> arch/parisc/include/asm/current.h:17:17: error: conflicting types for 'get_current'; have 'int()'
17 | #define current get_current()
| ^~~~~~~~~~~
sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
221 | int current;
| ^~~~~~~
arch/parisc/include/asm/current.h:8:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
8 | static __always_inline struct task_struct *get_current(void)
| ^~~~~~~~~~~
sound/hda/core/hdmi_chmap.c:223:17: error: lvalue required as left operand of assignment
223 | current = hdmi_get_channel_count(codec, cvt_nid);
| ^
cc1: some warnings being treated as errors
--
hdmi_chmap.c: In function 'hdmi_set_channel_count':
hdmi_chmap.c:221:9: error: function declaration isn't a prototype [-Werror=strict-prototypes]
221 | int current;
| ^~~
In file included from include/linux/mutex.h:14,
from include/linux/kernfs.h:11,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/module.h:22,
from hdmi_chmap.c:6:
>> arch/parisc/include/asm/current.h:17:17: error: conflicting types for 'get_current'; have 'int()'
17 | #define current get_current()
| ^~~~~~~~~~~
hdmi_chmap.c:221:13: note: in expansion of macro 'current'
221 | int current;
| ^~~~~~~
arch/parisc/include/asm/current.h:8:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
8 | static __always_inline struct task_struct *get_current(void)
| ^~~~~~~~~~~
hdmi_chmap.c:223:17: error: lvalue required as left operand of assignment
223 | current = hdmi_get_channel_count(codec, cvt_nid);
| ^
cc1: some warnings being treated as errors
vim +17 arch/parisc/include/asm/current.h
2214c0e77259b42 Helge Deller 2021-10-15 16
2214c0e77259b42 Helge Deller 2021-10-15 @17 #define current get_current()
2214c0e77259b42 Helge Deller 2021-10-15 18
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki