Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 5 messages Feb 6, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

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

ERROR: "of_device_uevent_modalias" [drivers/tty/serdev/serdev.ko] undefined!
ERROR: "of_device_get_modalias" [drivers/tty/serdev/serdev.ko] undefined!

Caused by commit

cd6484e1830b ("serdev: Introduce new bus for serial attached devices")

I have used the tty tree from next-20170203 for today.

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

Hi Greg,

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

Quoted 8 lines

ERROR: "of_device_uevent_modalias" [drivers/tty/serdev/serdev.ko] undefined!
ERROR: "of_device_get_modalias" [drivers/tty/serdev/serdev.ko] undefined!

Caused by commit

cd6484e1830b ("serdev: Introduce new bus for serial attached devices")

I have used the tty tree from next-20170203 for today.

Ugh, how has this been passing the 0-day bot builds succesfully?

Rob, any ideas?

thanks,

greg k-h

Acked-by
#2 lore raw
Quoted 11 lines · Greg KH
Quoted 10 lines · Stephen Rothwell

Hi Greg,

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

ERROR: "of_device_uevent_modalias" [drivers/tty/serdev/serdev.ko] undefined!
ERROR: "of_device_get_modalias" [drivers/tty/serdev/serdev.ko] undefined!

Caused by commit

Quoted 7 lines
Quoted 3 lines

cd6484e1830b ("serdev: Introduce new bus for serial attached devices")

I have used the tty tree from next-20170203 for today.

Ugh, how has this been passing the 0-day bot builds succesfully?

Rob, any ideas?

It didn't, but we happened to already have a fix queued up for 4.11. The fix is in your usb-next branch:

commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7

Author: Stephen Boyd <[email protected]>
Date:   Wed Dec 28 14:56:48 2016 -0800

of: device: Export of_device_{get_modalias, uvent_modalias} to modules

The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module.

Rob

#3 lore raw
Quoted 29 lines · Rob Herring
Quoted 11 lines · Greg KH
Quoted 10 lines · Stephen Rothwell

Hi Greg,

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

ERROR: "of_device_uevent_modalias" [drivers/tty/serdev/serdev.ko] undefined!
ERROR: "of_device_get_modalias" [drivers/tty/serdev/serdev.ko] undefined!

Caused by commit

Quoted 7 lines
Quoted 3 lines

cd6484e1830b ("serdev: Introduce new bus for serial attached devices")

I have used the tty tree from next-20170203 for today.

Ugh, how has this been passing the 0-day bot builds succesfully?

Rob, any ideas?

It didn't, but we happened to already have a fix queued up for 4.11. The fix is in your usb-next branch:

commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7

Author: Stephen Boyd <[email protected]>
Date:   Wed Dec 28 14:56:48 2016 -0800

of: device: Export of_device_{get_modalias, uvent_modalias} to modules

Quoted 8 lines

The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module.

Ah, so the if this is pulled into linux-next at the same time, then there's no build error.

Stephen, do you need/want me to cherry-pick this into the tty branch, or is it ok as-is?

thanks,

greg k-h

#4 lore raw

Hi Greg,

Quoted 21 lines · On Mon, 6 Feb 2017 16:18:22 +0100 Greg KH <[email protected]> wrote:
Quoted 10 lines · Rob Herring

It didn't, but we happened to already have a fix queued up for 4.11. The fix is in your usb-next branch:

commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7

Author: Stephen Boyd <[email protected]>
Date:   Wed Dec 28 14:56:48 2016 -0800

of: device: Export of_device_{get_modalias, uvent_modalias} to modules

Quoted 8 lines

The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module.

Quoted 5 lines

Ah, so the if this is pulled into linux-next at the same time, then there's no build error.

Stephen, do you need/want me to cherry-pick this into the tty branch, or is it ok as-is?

I will change things so that I merge the usb tree before the tty tree. Please remember to tell Linus that they need to be merged in that order.

Signature · 2 lines
Cheers,
Stephen Rothwell