* linux-next: build failure after merge of the crc and sound trees
@ 2025-01-20 7:17 Stephen Rothwell
2025-01-20 7:28 ` Eric Biggers
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2025-01-20 7:17 UTC (permalink / raw)
To: Takashi Iwai, Eric Biggers
Cc: Baojun Xu, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1976 bytes --]
Hi all,
After merging the crc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from lib/gen_crc32table.c:5:
lib/crc32defs.h:13:10: warning: "CRC_LE_BITS" redefined
13 | # define CRC_LE_BITS 8
| ^~~~~~~~~~~
lib/crc32defs.h:5:10: note: this is the location of the previous definition
5 | # define CRC_LE_BITS 64
| ^~~~~~~~~~~
lib/crc32defs.h:14:10: warning: "CRC_BE_BITS" redefined
14 | # define CRC_BE_BITS 8
| ^~~~~~~~~~~
lib/crc32defs.h:6:10: note: this is the location of the previous definition
6 | # define CRC_BE_BITS 64
| ^~~~~~~~~~~
In file included from lib/crc32.c:34:
lib/crc32defs.h:13:10: error: "CRC_LE_BITS" redefined [-Werror]
13 | # define CRC_LE_BITS 8
| ^~~~~~~~~~~
lib/crc32defs.h:5:10: note: this is the location of the previous definition
5 | # define CRC_LE_BITS 64
| ^~~~~~~~~~~
lib/crc32defs.h:14:10: error: "CRC_BE_BITS" redefined [-Werror]
14 | # define CRC_BE_BITS 8
| ^~~~~~~~~~~
lib/crc32defs.h:6:10: note: this is the location of the previous definition
6 | # define CRC_BE_BITS 64
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
Probably caused by commit
bb5f86ea50ff ("ALSA: hda/tas2781: Add tas2781 hda SPI driver")
from the sound tree - it selects CRC32_SARWATE.
$ grep CONFIG_CRC32_ .config
CONFIG_CRC32_IMPL_ARCH_PLUS_SLICEBY8=y
# CONFIG_CRC32_IMPL_ARCH_PLUS_SLICEBY1 is not set
# CONFIG_CRC32_IMPL_SLICEBY8 is not set
# CONFIG_CRC32_IMPL_SLICEBY4 is not set
# CONFIG_CRC32_IMPL_SLICEBY1 is not set
# CONFIG_CRC32_IMPL_BIT is not set
CONFIG_CRC32_ARCH=y
CONFIG_CRC32_SLICEBY8=y
CONFIG_CRC32_SARWATE=y
It looks like lib/crc32defs.h does not expect these last 2 to be enabled
at the same time.
I have reverted the above sound tree commit for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failure after merge of the crc and sound trees
2025-01-20 7:17 linux-next: build failure after merge of the crc and sound trees Stephen Rothwell
@ 2025-01-20 7:28 ` Eric Biggers
2025-01-20 7:42 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Eric Biggers @ 2025-01-20 7:28 UTC (permalink / raw)
To: Takashi Iwai, Baojun Xu
Cc: Stephen Rothwell, Linux Kernel Mailing List,
Linux Next Mailing List
On Mon, Jan 20, 2025 at 06:17:44PM +1100, Stephen Rothwell wrote:
> Probably caused by commit
>
> bb5f86ea50ff ("ALSA: hda/tas2781: Add tas2781 hda SPI driver")
>
> from the sound tree - it selects CRC32_SARWATE.
It needs to select CRC32, not CRC32_SARWATE. See 86c96e7289c5 where I already
fixed the last one. Not sure why the same bug is getting added again.
- Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failure after merge of the crc and sound trees
2025-01-20 7:28 ` Eric Biggers
@ 2025-01-20 7:42 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2025-01-20 7:42 UTC (permalink / raw)
To: Eric Biggers
Cc: Takashi Iwai, Baojun Xu, Stephen Rothwell,
Linux Kernel Mailing List, Linux Next Mailing List
On Mon, 20 Jan 2025 08:28:10 +0100,
Eric Biggers wrote:
>
> On Mon, Jan 20, 2025 at 06:17:44PM +1100, Stephen Rothwell wrote:
> > Probably caused by commit
> >
> > bb5f86ea50ff ("ALSA: hda/tas2781: Add tas2781 hda SPI driver")
> >
> > from the sound tree - it selects CRC32_SARWATE.
>
> It needs to select CRC32, not CRC32_SARWATE. See 86c96e7289c5 where I already
> fixed the last one. Not sure why the same bug is getting added again.
Sorry for the overlook. That's a new driver from the past after long
development time, and obviously we overlooked this upstream change for
i2c driver.
Will queue up your suggested fix.
thanks,
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-20 7:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20 7:17 linux-next: build failure after merge of the crc and sound trees Stephen Rothwell
2025-01-20 7:28 ` Eric Biggers
2025-01-20 7:42 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).