Skip to contentSkip to conversation

linux-next: build failure after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 4 participants 5 messages Jul 6, 2022 – Jul 7, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

sound/soc/intel/avs/boards/i2s_test.c: In function 'avs_i2s_test_probe':
sound/soc/intel/avs/boards/i2s_test.c:130:60: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Werror=format=]

  130 |         card->name = devm_kasprintf(dev, GFP_KERNEL, "ssp%ld-loopback", ssp_port);
      |                                                          ~~^            ~~~~~~~~
      |                                                            |            |
      |                                                            long int     int
      |                                                          %d

cc1: all warnings being treated as errors

Caused by commit

e39acc4cfd92 ("ASoC: Intel: avs: Add I2S-test machine board")

I have used the sound-asoc tree from next-20220705 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 2 lines · Stephen Rothwell

After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Which toolchain do you use? I've been using GCC 10 since it seems to be what Linus is using, anything else I try has tended to get spurious failures in from his tree.

#2 lore raw
Quoted 8 lines · Mark Brown
Quoted 2 lines · Stephen Rothwell

After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Which toolchain do you use? I've been using GCC 10 since it seems to be what Linus is using, anything else I try has tended to get spurious failures in from his tree.

I will just add that Czarek already provided a fix:
https://lore.kernel.org/alsa-devel/[email protected]/T/#u

#3 lore raw
In reply to Mark Brown
Quoted 8 lines · Mark Brown
Quoted 2 lines · Stephen Rothwell

After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Which toolchain do you use? I've been using GCC 10 since it seems to be what Linus is using, anything else I try has tended to get spurious failures in from his tree.

Issue has been revealed by the yesterday's fix [1] - there was a spelling error on my side in the most recent (and integrated) version of i2s_test machine driver. As my CI was 1-rebase behind the schedule, we did not notice.

As mentioned by Amadeo, fix has already been provided [2]. Sorry for any trouble caused by that issue.

[1]: https://lore.kernel.org/alsa-devel/[email protected]/
[2]: https://lore.kernel.org/alsa-devel/[email protected]/T/#u

Regards,
Czarek

#4 lore raw
In reply to Mark Brown

Hi Mark,

Quoted 9 lines · On Wed, 6 Jul 2022 13:09:48 +0100 Mark Brown <[email protected]> wrote:
Quoted 2 lines · Stephen Rothwell

After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Which toolchain do you use? I've been using GCC 10 since it seems to be what Linus is using, anything else I try has tended to get spurious failures in from his tree.

$ x86_64-linux-gnu-gcc --version
x86_64-linux-gnu-gcc (Debian 11.2.0-9) 11.2.0
Signature · 2 lines
Cheers,
Stephen Rothwell