Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 14, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/x86/mm/cpu_entry_area.c: In function 'init_cea_offsets':
arch/x86/mm/cpu_entry_area.c:39:23: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]

   39 |                 cea = prandom_u32_max(max_cea);
      |                       ^~~~~~~~~~~~~~~
      |                       prandom_u32_state
net/ipv4/tcp_plb.c: In function 'tcp_plb_update_state_upon_rto':
net/ipv4/tcp_plb.c:100:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]
  100 |         pause += prandom_u32_max(pause);
      |                  ^~~~~~~~~~~~~~~
      |                  prandom_u32_state

Caused by commit

1effd020f82d ("prandom: remove prandom_u32_max()")

interacting with some new usages. Why not leave this removal until just after -rc1 has been released?

I have reverted this commit for today.

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

Hi all,

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

arch/x86/mm/cpu_entry_area.c: In function 'init_cea_offsets':
arch/x86/mm/cpu_entry_area.c:39:23: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]

   39 |                 cea = prandom_u32_max(max_cea);
      |                       ^~~~~~~~~~~~~~~
      |                       prandom_u32_state
net/ipv4/tcp_plb.c: In function 'tcp_plb_update_state_upon_rto':
net/ipv4/tcp_plb.c:100:18: error: implicit declaration of function 'prandom_u32_max'; did you mean 'prandom_u32_state'? [-Werror=implicit-function-declaration]
  100 |         pause += prandom_u32_max(pause);
      |                  ^~~~~~~~~~~~~~~
      |                  prandom_u32_state
Quoted 8 lines

Caused by commit

1effd020f82d ("prandom: remove prandom_u32_max()")

interacting with some new usages. Why not leave this removal until just after -rc1 has been released?

I have reverted this commit for today.

The plan was the last chance before rc1, yea. I'll remove it for now so that it stops breaking -next.

Jason