lkml.org 
[lkml]   [2020]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v32 01/12] Linux Random Number Generator
Date
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


\
 
 \ /
  Last update: 2020-08-20 14:34    [W:0.149 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site