Skip to contentSkip to conversation

linux-next: build failure after merge of the input-current tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Sep 18, 2018 – Sep 20, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Dmitry,

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

ERROR: "mem_sleep_current" [drivers/input/serio/i8042.ko] undefined!

Caused by commit

1685830e59d4 ("Input: i8042 - enable keyboard wakeups by default when s2idle is used")

I have used the version of input-current from next-20180918 for today.

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

Hi Dmitry,

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

Quoted 7 lines

ERROR: "mem_sleep_current" [drivers/input/serio/i8042.ko] undefined!

Caused by commit

1685830e59d4 ("Input: i8042 - enable keyboard wakeups by default when s2idle is used")

I have used the version of input-current from next-20180918 for today.

Ugh, sorry, I dropped that patch from my tree for now.

Daniel, Rafael, I guess we can't make pm_suspend_via_s2idle() static inline, but instead move it into kernel/power/suspend.c and make it EXPORT_SYMBOL().

Thanks.

Signature · 1 line
Dmitry
#2 lore raw
Quoted 13 lines · CEST Dmitry Torokhov
Quoted 12 lines · Stephen Rothwell

Hi Dmitry,

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

ERROR: "mem_sleep_current" [drivers/input/serio/i8042.ko] undefined!

Caused by commit

1685830e59d4 ("Input: i8042 - enable keyboard wakeups by default when s2idle is used")

Quoted 7 lines
Quoted 1 line

I have used the version of input-current from next-20180918 for today.

Ugh, sorry, I dropped that patch from my tree for now.

Daniel, Rafael, I guess we can't make pm_suspend_via_s2idle() static inline, but instead move it into kernel/power/suspend.c and make it EXPORT_SYMBOL().

Either that, or mem_sleep_current would need to be exported. Sorry for missing that.

Daniel, I prefer the wrapper to be a regular function in suspend.c.

Thanks,
Rafael