Skip to contentSkip to conversation

linux-next: build failure after merge of the mfd tree

DISCUSSION [email protected] 3 participants 4 messages Feb 23, 2022 – Feb 28, 2022 Linux-next tree

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Hi all,

After merging the mfd tree, today's linux-next build (KCONFIG_NAME) failed like this:

/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'

  255 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition of 'sprd_pmic_spi_ids' was here
  242 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~

Caused by commit

6fc90b92e9c7ef348 ("mfd: sprd: Add SPI device ID table")

I used the MFD tree from yesterday instead.

#1 lore raw
Quoted 12 lines · On Wed, 23 Feb 2022, [email protected] wrote:

Hi all,

After merging the mfd tree, today's linux-next build (KCONFIG_NAME) failed like this:

/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'

  255 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition of 'sprd_pmic_spi_ids' was here
  242 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~
Quoted 5 lines

Caused by commit

6fc90b92e9c7ef348 ("mfd: sprd: Add SPI device ID table")

I used the MFD tree from yesterday instead.

Thanks.

Will fix for tomorrow.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
#2 lore raw

Hi Lee,

Quoted 15 lines · On Wed, 23 Feb 2022 17:03:43 +0000 Lee Jones <[email protected]> wrote:
Quoted 12 lines · On Wed, 23 Feb 2022, [email protected] wrote:

After merging the mfd tree, today's linux-next build (KCONFIG_NAME) failed like this:

/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'

  255 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition of 'sprd_pmic_spi_ids' was here
  242 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~

Caused by commit

Quoted 7 lines
Quoted 3 lines

6fc90b92e9c7ef348 ("mfd: sprd: Add SPI device ID table")

I used the MFD tree from yesterday instead.

Thanks.

Will fix for tomorrow.

I am still getting this build failure. It is an x86_64 allmodconfig build.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 20 lines · Stephen Rothwell

Hi Lee,

Quoted 17 lines · On Wed, 23 Feb 2022 17:03:43 +0000 Lee Jones <[email protected]> wrote:
Quoted 14 lines · On Wed, 23 Feb 2022, [email protected] wrote:

After merging the mfd tree, today's linux-next build (KCONFIG_NAME) failed like this:

/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'

  255 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition of 'sprd_pmic_spi_ids' was here
  242 | static const struct spi_device_id sprd_pmic_spi_ids[] = {
      |                                   ^~~~~~~~~~~~~~~~~

Caused by commit

6fc90b92e9c7ef348 ("mfd: sprd: Add SPI device ID table")

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

I used the MFD tree from yesterday instead.

Thanks.

Will fix for tomorrow.

I am still getting this build failure. It is an x86_64 allmodconfig build.

The good news is, this is fixed locally.

The bad news is, I didn't push it to the public repo. :)

Should be fixed for tomorrow instead.

Signature · 4 lines
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog