[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240905122020.872466-15-ubizjak@gmail.com>
Date: Thu, 5 Sep 2024 14:17:22 +0200
From: Uros Bizjak <ubizjak@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Uros Bizjak <ubizjak@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jiri Pirko <jiri@...nulli.us>,
netdev@...r.kernel.org
Subject: [PATCH 14/18] lib/test_parman: Include <linux/prandom.h> instead of <linux/random.h>
Usage of pseudo-random functions requires inclusion of
<linux/prandom.h> header instead of <linux/random.h>.
Signed-off-by: Uros Bizjak <ubizjak@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org
---
lib/test_parman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/test_parman.c b/lib/test_parman.c
index 35e32243693c..f9b97426a337 100644
--- a/lib/test_parman.c
+++ b/lib/test_parman.c
@@ -39,7 +39,7 @@
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/err.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
#include <linux/parman.h>
#define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */
--
2.46.0
Powered by blists - more mailing lists