All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ALSA: hda: Separate codec read status from response
@ 2026-12-03 17:04 Sreeraj S Kurup
  2026-12-03 17:05 ` [PATCH 1/3] ALSA: hda: core: Fix command creation error handling Sreeraj S Kurup
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Sreeraj S Kurup @ 2026-12-03 17:04 UTC (permalink / raw)
  To: perex, tiwai, lgirdwood, broonie
  Cc: linux-sound, linux-kernel, Sreeraj S Kurup

Hi,

This series improves error handling in the HDA codec command and read
APIs.

Currently, snd_hdac_make_cmd() returns an unsigned int and uses -1 to
indicate an invalid command. Since -1 is converted to 0xffffffff,
which can also represent a valid encoded HDA command, callers cannot
reliably distinguish an error from a valid command.

This series changes snd_hdac_make_cmd() to return an integer status
and provide the encoded command through an output parameter. It also
updates snd_hdac_codec_read() to return an integer status and provide
the codec response through an output parameter.

The affected callers in the HDA core and ASoC HDMI codec driver are
updated to use the new API and handle errors appropriately.

Patch overview:

1. ALSA: hda: core: Fix command creation error handling
2. ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
3. ASoC: codecs: hdac_hdmi: Update codec read API callers

Patches 2 and 3 depend on the API changes introduced in patch 1.

Please let me know if any changes are needed.

Thanks,
Sreeraj

Sreeraj S Kurup (3):
  ALSA: hda: core: Fix command creation error handling
  ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
  ASoC: codecs: hdac_hdmi: Update codec read API callers

 include/sound/hdaudio.h      |  2 +-
 sound/hda/core/device.c      | 69 ++++++++++++++++++++++++----------
 sound/hda/core/hdmi_chmap.c  | 30 ++++++++++++---
 sound/soc/codecs/hdac_hdmi.c | 72 +++++++++++++++++++++++-------------
 4 files changed, 123 insertions(+), 50 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-04  5:06 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-04  5:06 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: powerpc64-randconfig-1001-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204130455.Lkkkehps-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204130455.Lkkkehps-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204130455.Lkkkehps-lkp@intel.com/

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:2: error: function declaration isn't a prototype [-Werror=strict-prototypes]
     221 |  int current;
         |  ^~~
   In file included from include/linux/sched.h:12,
                    from arch/powerpc/include/asm/elf.h:8,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:20,
                    from sound/hda/core/hdmi_chmap.c:6:
>> arch/powerpc/include/asm/current.h:26:17: error: conflicting types for 'get_current'
      26 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:6: note: in expansion of macro 'current'
     221 |  int current;
         |      ^~~~~~~
   arch/powerpc/include/asm/current.h:15:35: note: previous definition of 'get_current' was here
      15 | static inline struct task_struct *get_current(void)
         |                                   ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:223:10: 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:2: error: function declaration isn't a prototype [-Werror=strict-prototypes]
     221 |  int current;
         |  ^~~
   In file included from include/linux/sched.h:12,
                    from arch/powerpc/include/asm/elf.h:8,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:20,
                    from hdmi_chmap.c:6:
>> arch/powerpc/include/asm/current.h:26:17: error: conflicting types for 'get_current'
      26 | #define current get_current()
         |                 ^~~~~~~~~~~
   hdmi_chmap.c:221:6: note: in expansion of macro 'current'
     221 |  int current;
         |      ^~~~~~~
   arch/powerpc/include/asm/current.h:15:35: note: previous definition of 'get_current' was here
      15 | static inline struct task_struct *get_current(void)
         |                                   ^~~~~~~~~~~
   hdmi_chmap.c:223:10: 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 +/get_current +26 arch/powerpc/include/asm/current.h

584224e4095d8ab include/asm-powerpc/current.h      David Gibson    2005-11-09  14  
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  15  static inline struct task_struct *get_current(void)
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  16  {
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  17  	struct task_struct *task;
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  18  
e354d7dc81d0e81 arch/powerpc/include/asm/current.h Nicholas Piggin 2019-06-13  19  	/* get_current can be cached by the compiler, so no volatile */
e354d7dc81d0e81 arch/powerpc/include/asm/current.h Nicholas Piggin 2019-06-13  20  	asm ("ld %0,%1(13)"
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  21  	: "=r" (task)
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  22  	: "i" (offsetof(struct paca_struct, __current)));
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  23  
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  24  	return task;
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31  25  }
5fe8e8b88e68e51 include/asm-powerpc/current.h      Hugh Dickins    2006-10-31 @26  #define current	get_current()
584224e4095d8ab include/asm-powerpc/current.h      David Gibson    2005-11-09  27  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-04  5:18 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-04  5:18 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "same reports for this branch"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

Hi Sreeraj,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING 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
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261204/20261204131430.v3u0zmzU-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204131430.v3u0zmzU-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204131430.v3u0zmzU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from ./arch/nios2/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from include/linux/ptrace.h:6,
                    from arch/nios2/include/uapi/asm/elf.h:24,
                    from arch/nios2/include/asm/elf.h:9,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:20,
                    from sound/hda/core/hdmi_chmap.c:6:
   sound/hda/core/hdmi_chmap.c: In function 'hdmi_set_channel_count':
   include/asm-generic/current.h:8:45: error: expected ')' before '->' token
       8 | #define get_current() (current_thread_info()->task)
         |                                             ^~
   include/asm-generic/current.h:9:17: note: in expansion of macro 'get_current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
>> sound/hda/core/hdmi_chmap.c:223:17: warning: assignment to 'struct task_struct *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     223 |         current = hdmi_get_channel_count(codec, cvt_nid);
         |                 ^
   sound/hda/core/hdmi_chmap.c:224:21: warning: ordered comparison of pointer with integer zero [-Wextra]
     224 |         if (current < 0)
         |                     ^
   sound/hda/core/hdmi_chmap.c:227:17: warning: comparison between pointer and integer
     227 |         if (chs != current)
         |                 ^~


vim +223 sound/hda/core/hdmi_chmap.c

739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  221  	int current;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-04  5:18 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-04  5:18 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20261204/20261204131459.zdn1Fgif-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204131459.zdn1Fgif-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204131459.zdn1Fgif-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from ./arch/sh/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from include/linux/utsname.h:6,
                    from arch/sh/include/asm/elf.h:5,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:20,
                    from sound/hda/core/hdmi_chmap.c:6:
   sound/hda/core/hdmi_chmap.c: In function 'hdmi_set_channel_count':
>> include/asm-generic/current.h:8:45: error: expected ')' before '->' token
       8 | #define get_current() (current_thread_info()->task)
         |                                             ^~
   include/asm-generic/current.h:9:17: note: in expansion of macro 'get_current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
>> sound/hda/core/hdmi_chmap.c:223:17: error: assignment to 'struct task_struct *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     223 |         current = hdmi_get_channel_count(codec, cvt_nid);
         |                 ^
   sound/hda/core/hdmi_chmap.c:224:21: warning: ordered comparison of pointer with integer zero [-Wextra]
     224 |         if (current < 0)
         |                     ^
   sound/hda/core/hdmi_chmap.c:227:17: warning: comparison between pointer and integer
     227 |         if (chs != current)
         |                 ^~
--
   In file included from arch/sh/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from include/linux/utsname.h:6,
                    from arch/sh/include/asm/elf.h:5,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:20,
                    from hdmi_chmap.c:6:
   hdmi_chmap.c: In function 'hdmi_set_channel_count':
>> include/asm-generic/current.h:8:45: error: expected ')' before '->' token
       8 | #define get_current() (current_thread_info()->task)
         |                                             ^~
   include/asm-generic/current.h:9:17: note: in expansion of macro 'get_current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~
   hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   hdmi_chmap.c:223:17: error: assignment to 'struct task_struct *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     223 |         current = hdmi_get_channel_count(codec, cvt_nid);
         |                 ^
   hdmi_chmap.c:224:21: warning: ordered comparison of pointer with integer zero [-Wextra]
     224 |         if (current < 0)
         |                     ^
   hdmi_chmap.c:227:17: warning: comparison between pointer and integer
     227 |         if (chs != current)
         |                 ^~


vim +223 sound/hda/core/hdmi_chmap.c

739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  221  	int current;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-04  5:40 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-04  5:40 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261204/20261204133635.LSX6hR8k-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63b30c97f6082ebf34b31bdd81bb50df7672b67b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204133635.LSX6hR8k-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204133635.LSX6hR8k-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/hda/core/hdmi_chmap.c:221:6: error: expected ')'
     221 |         int current;
         |             ^
   include/asm-generic/current.h:9:17: note: expanded from macro 'current'
       9 | #define current get_current()
         |                 ^
   include/asm-generic/current.h:8:45: note: expanded from macro 'get_current'
       8 | #define get_current() (current_thread_info()->task)
         |                                             ^
   sound/hda/core/hdmi_chmap.c:221:6: note: to match this '('
   include/asm-generic/current.h:9:17: note: expanded from macro 'current'
       9 | #define current get_current()
         |                 ^
   include/asm-generic/current.h:8:23: note: expanded from macro 'get_current'
       8 | #define get_current() (current_thread_info()->task)
         |                       ^
>> sound/hda/core/hdmi_chmap.c:223:2: error: member reference type 'int' is not a pointer
     223 |         current = hdmi_get_channel_count(codec, cvt_nid);
         |         ^~~~~~~
   include/asm-generic/current.h:9:17: note: expanded from macro 'current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~~~
   include/asm-generic/current.h:8:47: note: expanded from macro 'get_current'
       8 | #define get_current() (current_thread_info()->task)
         |                        ~~~~~~~~~~~~~~~~~~~~~  ^
   sound/hda/core/hdmi_chmap.c:224:6: error: member reference type 'int' is not a pointer
     224 |         if (current < 0)
         |             ^~~~~~~
   include/asm-generic/current.h:9:17: note: expanded from macro 'current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~~~
   include/asm-generic/current.h:8:47: note: expanded from macro 'get_current'
       8 | #define get_current() (current_thread_info()->task)
         |                        ~~~~~~~~~~~~~~~~~~~~~  ^
   sound/hda/core/hdmi_chmap.c:227:13: error: member reference type 'int' is not a pointer
     227 |         if (chs != current)
         |                    ^~~~~~~
   include/asm-generic/current.h:9:17: note: expanded from macro 'current'
       9 | #define current get_current()
         |                 ^~~~~~~~~~~~~
   include/asm-generic/current.h:8:47: note: expanded from macro 'get_current'
       8 | #define get_current() (current_thread_info()->task)
         |                        ~~~~~~~~~~~~~~~~~~~~~  ^
   4 errors generated.


vim +221 sound/hda/core/hdmi_chmap.c

739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @221  	int current;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-05  9:54 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:54 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261204/20261204210053.LDipIkXg-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204210053.LDipIkXg-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204210053.LDipIkXg-lkp@intel.com/

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 arch/x86/include/asm/processor.h:17,
                    from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from sound/hda/core/hdmi_chmap.c:6:
>> arch/x86/include/asm/current.h:28:17: error: conflicting types for 'get_current'; have 'int()'
      28 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/x86/include/asm/current.h:20:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      20 | 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 arch/x86/include/asm/processor.h:17,
                    from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from hdmi_chmap.c:6:
>> arch/x86/include/asm/current.h:28:17: error: conflicting types for 'get_current'; have 'int()'
      28 | #define current get_current()
         |                 ^~~~~~~~~~~
   hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/x86/include/asm/current.h:20:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      20 | 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 +221 sound/hda/core/hdmi_chmap.c

739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @221  	int current;
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550 sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-05  9:54 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:54 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261204/20261204214555.vAWVsPAZ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204214555.vAWVsPAZ-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204214555.vAWVsPAZ-lkp@intel.com/

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 arch/x86/include/asm/processor.h:17,
                    from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from sound/hda/core/hdmi_chmap.c:6:
>> arch/x86/include/asm/current.h:28:17: error: conflicting types for 'get_current'; have 'int()'
      28 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/x86/include/asm/current.h:20:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      20 | 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 arch/x86/include/asm/processor.h:17,
                    from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from hdmi_chmap.c:6:
>> arch/x86/include/asm/current.h:28:17: error: conflicting types for 'get_current'; have 'int()'
      28 | #define current get_current()
         |                 ^~~~~~~~~~~
   hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/x86/include/asm/current.h:20:44: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      20 | 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 +221 sound/hda/core/hdmi_chmap.c

739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @221  	int current;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
@ 2026-12-05  9:55 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
References: <20261203170741.3873-3-sreekuttan2156239@gmail.com>
TO: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
TO: perex@perex.cz
TO: tiwai@suse.de
TO: lgirdwood@gmail.com
TO: broonie@kernel.org
CC: linux-sound@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

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
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20261204/20261204224338.85xbZ8oi-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204224338.85xbZ8oi-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/20261204224338.85xbZ8oi-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/hda/core/hdmi_chmap.c:221:6: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
     221 |         int current;
         |             ^
   arch/x86/include/asm/current.h:28:28: note: expanded from macro 'current'
      28 | #define current get_current()
         |                            ^
>> sound/hda/core/hdmi_chmap.c:221:6: error: conflicting types for 'get_current'
   arch/x86/include/asm/current.h:28:17: note: expanded from macro 'current'
      28 | #define current get_current()
         |                 ^
   arch/x86/include/asm/current.h:20:44: note: previous definition is here
      20 | static __always_inline struct task_struct *get_current(void)
         |                                            ^
   2 errors generated.


vim +221 sound/hda/core/hdmi_chmap.c

739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  217  
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  218  static void hdmi_set_channel_count(struct hdac_device *codec,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  219  				   hda_nid_t cvt_nid, int chs)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  220  {
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03 @221  	int current;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  222  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  223  	current = hdmi_get_channel_count(codec, cvt_nid);
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  224  	if (current < 0)
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  225  		return;
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  226  
ff0a879067c2df2 sound/hda/core/hdmi_chmap.c Sreeraj S Kurup     2026-12-03  227  	if (chs != current)
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  228  		snd_hdac_codec_write(codec, cvt_nid, 0,
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  229  				    AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  230  }
739ffee97ed550a sound/hda/hdmi_chmap.c      Subhransu S. Prusty 2016-03-04  231  

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-12-05  9:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 17:04 [PATCH 0/3] ALSA: hda: Separate codec read status from response Sreeraj S Kurup
2026-12-03 17:05 ` [PATCH 1/3] ALSA: hda: core: Fix command creation error handling Sreeraj S Kurup
2026-12-03 18:12   ` sashiko-bot
2026-12-03 17:05 ` [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers Sreeraj S Kurup
2026-12-03 18:22   ` sashiko-bot
2026-12-04  4:32   ` kernel test robot
2026-12-04  4:54   ` kernel test robot
2026-12-04  4:54   ` kernel test robot
2026-12-03 17:05 ` [PATCH 3/3] ASoC: codecs: hdac_hdmi: Update codec read API callers Sreeraj S Kurup
2026-12-03 18:46   ` sashiko-bot
2026-12-03 17:33 ` [PATCH 0/3] ALSA: hda: Separate codec read status from response Takashi Iwai
2026-12-03 18:10   ` Sreeraj S Kurup
2026-12-03 18:31   ` Sreeraj S Kurup
2026-12-04  8:25     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2026-12-04  5:06 [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers kernel test robot
2026-12-04  5:18 kernel test robot
2026-12-04  5:18 kernel test robot
2026-12-04  5:40 kernel test robot
2026-12-05  9:54 kernel test robot
2026-12-05  9:54 kernel test robot
2026-12-05  9:55 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.