2022-07-06 02:34:01

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the sound-asoc tree

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.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-07-06 12:13:07

by Mark Brown

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:

> 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.


Attachments:
(No filename) (348.00 B)
signature.asc (499.00 B)
Download all attachments

2022-07-06 13:14:35

by Amadeusz Sławiński

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

On 7/6/2022 2:09 PM, Mark Brown wrote:
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
>
>> 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

2022-07-06 13:38:03

by Cezary Rojewski

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

On 2022-07-06 2:09 PM, Mark Brown wrote:
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
>
>> 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

2022-07-07 01:47:50

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the sound-asoc tree

Hi Mark,

On Wed, 6 Jul 2022 13:09:48 +0100 Mark Brown <[email protected]> wrote:
>
> On Wed, Jul 06, 2022 at 11:55:29AM +1000, Stephen Rothwell wrote:
>
> > 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

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature