Re: [PATCH] m68k: fix getrandom() use with uclibc

2023-11-27 Thread Simon Horman
On Sat, Apr 22, 2023 at 11:59:04AM +0200, Laurent Vivier wrote: > With uclibc, getrandom() is only defined with _GNU_SOURCE, fix that: > > kexec/arch/m68k/bootinfo.c: In function 'bootinfo_add_rng_seed': > kexec/arch/m68k/bootinfo.c:231:13: warning: implicit declaration of function >

[PATCH] m68k: fix getrandom() use with uclibc

2023-04-22 Thread Laurent Vivier
With uclibc, getrandom() is only defined with _GNU_SOURCE, fix that: kexec/arch/m68k/bootinfo.c: In function 'bootinfo_add_rng_seed': kexec/arch/m68k/bootinfo.c:231:13: warning: implicit declaration of function 'getrandom'; did you mean 'srandom'? [-Wimplicit-function-declaration] 231 |