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:54:06 +0800 [thread overview]
Message-ID: <20261204124504.62MCVj5F-lkp@intel.com> (raw)
In-Reply-To: <20261203170741.3873-3-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
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20261204/20261204124504.62MCVj5F-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204124504.62MCVj5F-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/20261204124504.62MCVj5F-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from ./arch/alpha/include/generated/asm/current.h:1,
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:
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)
| ^~
vim +224 sound/hda/core/hdmi_chmap.c
217
218 static void hdmi_set_channel_count(struct hdac_device *codec,
219 hda_nid_t cvt_nid, int chs)
220 {
221 int current;
222
223 current = hdmi_get_channel_count(codec, cvt_nid);
> 224 if (current < 0)
225 return;
226
> 227 if (chs != current)
228 snd_hdac_codec_write(codec, cvt_nid, 0,
229 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1);
230 }
231
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-12-04 4:54 UTC|newest]
Thread overview: 21+ 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 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 [this message]
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
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=20261204124504.62MCVj5F-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 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.