diff options
| author | Jason A. Donenfeld <[email protected]> | 2022-02-13 16:17:01 +0100 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2022-02-21 21:14:21 +0100 |
| commit | b777c38239fec5a528e59f55b379e31b1a187524 (patch) | |
| tree | 322a78d2c472043fdbc3a1019becbe4bf4057849 /tools/perf/scripts/python/flamegraph.py | |
| parent | 1daf2f387652bf3a7044aea042f5023b3f6b189b (diff) | |
random: pull add_hwgenerator_randomness() declaration into random.h
add_hwgenerator_randomness() is a function implemented and documented
inside of random.c. It is the way that hardware RNGs push data into it.
Therefore, it should be declared in random.h. Otherwise sparse complains
with:
random.c:1137:6: warning: symbol 'add_hwgenerator_randomness' was not declared. Should it be static?
The alternative would be to include hw_random.h into random.c, but that
wouldn't really be good for anything except slowing down compile time.
Cc: Matt Mackall <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Reviewed-by: Dominik Brodowski <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions