Re: [PATCH v33 01/12] Linux Random Number Generator

From: Stephan Müller
Date: Sat Aug 22 2020 - 00:50:23 EST


Am Freitag, 21. August 2020, 21:42:17 CEST schrieb kernel test robot:

Hi,
>
> hppa-linux-ld: lib/random32.o: in function `prandom_u32':
> >> (.text+0x318): undefined reference to `__tracepoint_prandom_u32'
> >> hppa-linux-ld: (.text+0x31c): undefined reference to
> >> `__tracepoint_prandom_u32' hppa-linux-ld:
> >> lib/random32.o:(__jump_table+0x8): undefined reference to
> >> `__tracepoint_prandom_u32'

This is caused by the fact that the LRNG code does not include trace/events/
random.h. However, a patch to lib/random32.c now requires this file to be
included and creating a tracepoint. I.e. lib/random32.c code now relies on
some other code to create the necessary hook.

I have added the include and will provide it with the next release although I
am not sure lib/random32.c should rely on some other code to create its
dependencies.

Ciao
Stephan