From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linusw@kernel.org>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Jaya Kumar <jayakumar.alsa@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Bartosz Golaszewski <brgl@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-sound@vger.kernel.org,
linux-gpio@vger.kernel.org, Linus Walleij <linusw@kernel.org>
Subject: Re: [PATCH] RFT: x86_32: Move OLPC XO-1 audio GPIO to software nodes
Date: Thu, 26 Mar 2026 17:25:58 +0800 [thread overview]
Message-ID: <202603261701.n5u236ZK-lkp@intel.com> (raw)
In-Reply-To: <20260325-asoc-olpc-v1-1-ebe6de05c7e2@kernel.org>
Hi Linus,
kernel test robot noticed the following build errors:
[auto build test ERROR on 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f]
url: https://github.com/intel-lab-lkp/linux/commits/Linus-Walleij/RFT-x86_32-Move-OLPC-XO-1-audio-GPIO-to-software-nodes/20260326-073823
base: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
patch link: https://lore.kernel.org/r/20260325-asoc-olpc-v1-1-ebe6de05c7e2%40kernel.org
patch subject: [PATCH] RFT: x86_32: Move OLPC XO-1 audio GPIO to software nodes
config: sparc-randconfig-001-20260326 (https://download.01.org/0day-ci/archive/20260326/202603261701.n5u236ZK-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260326/202603261701.n5u236ZK-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/202603261701.n5u236ZK-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/pci/cs5535audio/cs5535audio.c: In function 'snd_cs5535audio_mixer':
>> sound/pci/cs5535audio/cs5535audio.c:167:26: error: passing argument 2 of 'olpc_quirks' from incompatible pointer type [-Werror=incompatible-pointer-types]
err = olpc_quirks(card, cs5535au);
^~~~~~~~
In file included from sound/pci/cs5535audio/cs5535audio.c:24:
sound/pci/cs5535audio/cs5535audio.h:128:71: note: expected 'struct snd_ac97 *' but argument is of type 'struct cs5535audio *'
static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
~~~~~~~~~~~~~~~~~^~~~
cc1: some warnings being treated as errors
vim +/olpc_quirks +167 sound/pci/cs5535audio/cs5535audio.c
134
135 static int snd_cs5535audio_mixer(struct cs5535audio *cs5535au)
136 {
137 struct snd_card *card = cs5535au->card;
138 struct snd_ac97_bus *pbus;
139 struct snd_ac97_template ac97;
140 int err;
141 static const struct snd_ac97_bus_ops ops = {
142 .write = snd_cs5535audio_ac97_codec_write,
143 .read = snd_cs5535audio_ac97_codec_read,
144 };
145
146 err = snd_ac97_bus(card, 0, &ops, NULL, &pbus);
147 if (err < 0)
148 return err;
149
150 memset(&ac97, 0, sizeof(ac97));
151 ac97.scaps = AC97_SCAP_AUDIO | AC97_SCAP_SKIP_MODEM
152 | AC97_SCAP_POWER_SAVE;
153 ac97.private_data = cs5535au;
154 ac97.pci = cs5535au->pci;
155
156 /* set any OLPC-specific scaps */
157 olpc_prequirks(card, &ac97);
158
159 err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97);
160 if (err < 0) {
161 dev_err(card->dev, "mixer failed\n");
162 return err;
163 }
164
165 snd_ac97_tune_hardware(cs5535au->ac97, ac97_quirks, ac97_quirk);
166
> 167 err = olpc_quirks(card, cs5535au);
168 if (err < 0) {
169 dev_err(card->dev, "olpc quirks failed\n");
170 return err;
171 }
172
173 return 0;
174 }
175
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-03-26 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 21:46 [PATCH] RFT: x86_32: Move OLPC XO-1 audio GPIO to software nodes Linus Walleij
2026-03-26 9:08 ` Bartosz Golaszewski
2026-03-26 10:20 ` Linus Walleij
2026-03-26 9:25 ` kernel test robot [this message]
2026-03-26 10:08 ` 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=202603261701.n5u236ZK-lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@alien8.de \
--cc=brgl@kernel.org \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jayakumar.alsa@gmail.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perex@perex.cz \
--cc=tglx@kernel.org \
--cc=tiwai@suse.com \
--cc=x86@kernel.org \
/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