Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 3 messages Feb 9, 2020 – Feb 11, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

Caused by commits in the keys tree interacting with commit

0ddad21d3e99 ("pipe: use exclusive waits when reading or writing")

from Linus' tree.

Given that I haven't seen a pull request for the keys tree yet, it seems that this work will not be in v5.6, so I have just dropped the keys tree for today.

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

Hi all,

Quoted 5 lines · On Mon, 10 Feb 2020 10:05:55 +1100 Stephen Rothwell <[email protected]>…

Hi all,

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

kernel/watch_queue.c: In function 'post_one_notification':
kernel/watch_queue.c:89:21: error: 'struct pipe_inode_info' has no member named 'wait'
89 | spin_lock_irq(&pipe->wait.lock);
| ^~
kernel/watch_queue.c:122:24: error: 'struct pipe_inode_info' has no member named 'wait'
122 | spin_unlock_irq(&pipe->wait.lock);
| ^~
In file included from include/linux/mmzone.h:10,
from include/linux/gfp.h:6,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:16,
from kernel/watch_queue.c:11:
kernel/watch_queue.c:125:46: error: 'struct pipe_inode_info' has no member named 'wait'
125 | wake_up_interruptible_sync_poll_locked(&pipe->wait, EPOLLIN | EPOLLRDNORM);
| ^~
include/linux/wait.h:234:29: note: in definition of macro 'wake_up_interruptible_sync_poll_locked'
234 | __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
| ^
kernel/watch_queue.c:129:23: error: 'struct pipe_inode_info' has no member named 'wait'
129 | spin_unlock_irq(&pipe->wait.lock);
| ^~

Quoted 9 lines

Caused by commit(s) in the keys tree interacting with commit

0ddad21d3e99 ("pipe: use exclusive waits when reading or writing")

from Linus' tree.

Given that I haven't seen a pull request for the keys tree yet, it seems that this work will not be in v5.6, so I have just dropped the keys tree for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi all,

Quoted 20 lines · On Mon, 10 Feb 2020 10:07:43 +1100 Stephen Rothwell <[email protected]>…
Quoted 3 lines · On Mon, 10 Feb 2020 10:05:55 +1100 Stephen Rothwell <[email protected]>…

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

kernel/watch_queue.c: In function 'post_one_notification':
kernel/watch_queue.c:89:21: error: 'struct pipe_inode_info' has no member named 'wait'
89 | spin_lock_irq(&pipe->wait.lock);
| ^~
kernel/watch_queue.c:122:24: error: 'struct pipe_inode_info' has no member named 'wait'
122 | spin_unlock_irq(&pipe->wait.lock);
| ^~
In file included from include/linux/mmzone.h:10,
from include/linux/gfp.h:6,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:16,
from kernel/watch_queue.c:11:
kernel/watch_queue.c:125:46: error: 'struct pipe_inode_info' has no member named 'wait'

Quoted 18 lines

125 | wake_up_interruptible_sync_poll_locked(&pipe->wait, EPOLLIN | EPOLLRDNORM);
| ^~
include/linux/wait.h:234:29: note: in definition of macro 'wake_up_interruptible_sync_poll_locked'
234 | __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
| ^
kernel/watch_queue.c:129:23: error: 'struct pipe_inode_info' has no member named 'wait'
129 | spin_unlock_irq(&pipe->wait.lock);
| ^~

Quoted 9 lines

Caused by commit(s) in the keys tree interacting with commit

0ddad21d3e99 ("pipe: use exclusive waits when reading or writing")

from Linus' tree.

Given that I haven't seen a pull request for the keys tree yet, it seems that this work will not be in v5.6, so I have just dropped the keys tree for today.

From today, I have just disabled CONFIG_WATCH_QUEUE instead of dropping the keys tree completely. Please let me know when it has been fixed up in case I don't notice.

Signature · 2 lines
Cheers,
Stephen Rothwell