[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210520121347.3467794-4-lee.jones@linaro.org>
Date: Thu, 20 May 2021 13:13:34 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org, "Theodore Ts'o" <tytso@....edu>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Matt Mackall <mpm@...enic.com>
Subject: [PATCH 03/16] char: random: Include header containing our prototypes
Fixes the following W=1 kernel build warning(s):
drivers/char/random.c:2283:6: warning: no previous prototype for ‘add_hwgenerator_randomness’ [-Wmissing-prototypes]
Cc: "Theodore Ts'o" <tytso@....edu>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: Matt Mackall <mpm@...enic.com>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/char/random.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 605969ed0f965..852e765aea62c 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -317,6 +317,7 @@
#include <linux/fcntl.h>
#include <linux/slab.h>
#include <linux/random.h>
+#include <linux/hw_random.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/fs.h>
--
2.31.1
Powered by blists - more mailing lists