Re: [PATCH v32 01/12] Linux Random Number Generator
From: Stephan Müller
Date: Thu Aug 20 2020 - 08:32:49 EST
Am Donnerstag, 20. August 2020, 13:46:49 CEST schrieb kernel test robot:
Hi,
> All warnings (new ones prefixed by >>):
> >> drivers/char/lrng/lrng_interfaces.c:120:6: warning: no previous prototype
> >> for 'add_hwgenerator_randomness' [-Wmissing-prototypes]
> 120 | void add_hwgenerator_randomness(const char *buffer, size_t count,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you, added <linux/hw_random.h>
> >>
> >> drivers/char/lrng/lrng_interfaces.c:297:6: warning: no previous prototype
> >> for 'get_random_bytes_full' [-Wmissing-prototypes]
> 297 | void get_random_bytes_full(void *buf, int nbytes)
>
> | ^~~~~~~~~~~~~~~~~~~~~
>
Thanks, added prototype to header file.
Ciao
Stephan