# Re: \[PATCH v32 01/12\] Linux Random Number Generator

- From: Stephan Müller \<hidden\>
- Date: 2020-08-20 12:32:50 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/08/6076267
- Thread: https://ratatoskr.run/linux-crypto/2020/08/6075186/t.md

```text
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


```
