Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 5 messages Mar 4, 2021 – Mar 5, 2021 2 messages not in the archive Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

Presumably caused by commit

c9e84d46cc03 ("pinctrl: rockchip: make driver be tristate module")

I have used the pinctrl tree from next-20210303 for today.

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

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

Presumably caused by commit

c9e84d46cc03 ("pinctrl: rockchip: make driver be tristate module")

I have used the pinctrl tree from next-20210303 for today.

Thanks Stephen, I'm taking the patch out again.

Yours,
Linus Walleij

#2 lore raw

Hi Linus,

Quoted 7 lines · On Thu, 4 Mar 2021 09:16:17 +0100 Linus Walleij <[email protected]>…
Quoted 4 lines · Stephen Rothwell

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

Quoted 7 lines
Quoted 5 lines

Presumably caused by commit

c9e84d46cc03 ("pinctrl: rockchip: make driver be tristate module")

I have used the pinctrl tree from next-20210303 for today.

Thanks Stephen, I'm taking the patch out again.

Sorry I managed to not put the error message in the mail :-(

Signature · 2 lines
Cheers,
Stephen Rothwell

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Hi,

Quoted 46 lines · On Fri, 5 Mar 2021 08:46:46 +0800 "[email protected]"…

Thanks,and I think i have miss to upstream the changes, I have resend them in a new thread.

arch/arm64/Kconfig.platforms +0 -2
@@ -155,9 +155,7 @@ config ARCH_REALTEK
 config ARCH_ROCKCHIP
        bool "Rockchip Platforms"
        select ARCH_HAS_RESET_CONTROLLER
-       select GPIOLIB
        select PINCTRL
-       select PINCTRL_ROCKCHIP
        select PM
        select ROCKCHIP_TIMER
        help
drivers/pinctrl/Kconfig +4 -0
index b197d23324fb..970c18191f6f 100644
@@ -179,10 +179,14 @@ config PINCTRL_OXNAS
 
 config PINCTRL_ROCKCHIP
        tristate "Rockchip gpio and pinctrl driver"
+       select GPIOLIB
        select PINMUX
        select GENERIC_PINCONF
        select GENERIC_IRQ_CHIP
        select MFD_SYSCON
+       default ARCH_ROCKCHIP
+       help
+         This support pinctrl and gpio driver for Rockchip SoCs.
 
 config PINCTRL_RZA1
        bool "Renesas RZ/A1 gpio and pinctrl driver"

From: Linus Walleij
Date: 2021-03-05 08:43
To: [email protected]
CC: Stephen Rothwell; Linux Kernel Mailing List; Linux Next Mailing List
Subject: Re: Re: linux-next: build failure after merge of the pinctrl tree On Fri, Mar 5, 2021 at 1:13 AM [email protected] <[email protected]> wrote:

Quoted 3 lines
Quoted 1 line

Could you show me the issue log ?

It's attached to Stephen's original mail in this thread.

Sorry I lost the error message, but it was a reference to a symbol that has no EXPORT_SYMBOL. So building the driver as a module should show the error.

Signature · 2 lines
Cheers,
Stephen Rothwell