All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/tests: include linux/prandom.h as well as linux/random.h
@ 2024-10-04 13:20 Thomas Hellström
  2024-10-07 11:40 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Thomas Hellström @ 2024-10-04 13:20 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström

The linux/prandom.h file was previously included from linux/random.h
but starting with commit

38d1a9d296c8 ("random: Do not include <linux/prandom.h> in <linux/random.h>")

That's no longer the case. Since we also use functions from
<linux/random.h>, include both.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
---
 drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c b/drivers/gpu/drm/xe/tests/xe_bo.c
index 7d3fd720478b..39cadce0881c 100644
--- a/drivers/gpu/drm/xe/tests/xe_bo.c
+++ b/drivers/gpu/drm/xe/tests/xe_bo.c
@@ -7,6 +7,7 @@
 #include <kunit/visibility.h>
 
 #include <linux/iosys-map.h>
+#include <linux/prandom.h>
 #include <linux/random.h>
 #include <linux/swap.h>
 
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-08  6:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 13:20 [PATCH] drm/xe/tests: include linux/prandom.h as well as linux/random.h Thomas Hellström
2024-10-07 11:40 ` ✓ CI.Patch_applied: success for " Patchwork
2024-10-07 11:40 ` ✗ CI.checkpatch: warning " Patchwork
2024-10-07 11:42 ` ✓ CI.KUnit: success " Patchwork
2024-10-07 11:53 ` ✓ CI.Build: " Patchwork
2024-10-07 11:56 ` ✓ CI.Hooks: " Patchwork
2024-10-07 11:57 ` ✓ CI.checksparse: " Patchwork
2024-10-07 12:24 ` ✓ CI.BAT: " Patchwork
2024-10-08  6:14 ` ✗ CI.FULL: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.