mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sreeraj S Kurup <sreekuttan2156239@gmail.com>,
	perex@perex.cz, tiwai@suse.de, lgirdwood@gmail.com,
	broonie@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Subject: Re: [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers
Date: Fri, 4 Dec 2026 12:32:07 +0800	[thread overview]
Message-ID: <20261204122112.w6qucz7q-lkp@intel.com> (raw)
In-Reply-To: <20261203170741.3873-3-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
config: powerpc64-randconfig-1000-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204122112.w6qucz7q-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204122112.w6qucz7q-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/oe-kbuild-all/20261204122112.w6qucz7q-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 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'; have 'int()'
      26 | #define current get_current()
         |                 ^~~~~~~~~~~
   sound/hda/core/hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/powerpc/include/asm/current.h:15:35: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      15 | static 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/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'; have 'int()'
      26 | #define current get_current()
         |                 ^~~~~~~~~~~
   hdmi_chmap.c:221:13: note: in expansion of macro 'current'
     221 |         int current;
         |             ^~~~~~~
   arch/powerpc/include/asm/current.h:15:35: note: previous definition of 'get_current' with type 'struct task_struct *(void)'
      15 | static 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 +26 arch/powerpc/include/asm/current.h

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

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

  reply	other threads:[~2026-12-04  4:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 17:05 ` [PATCH 2/3] ALSA: hda: hdmi_chmap: Update HDMI channel map codec read callers Sreeraj S Kurup
2026-12-04  4:32   ` kernel test robot [this message]
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 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204122112.w6qucz7q-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=perex@perex.cz \
    --cc=sreekuttan2156239@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®