All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Subject: [PATCH] drm/xe/tests: include linux/prandom.h as well as linux/random.h
Date: Fri,  4 Oct 2024 15:20:37 +0200	[thread overview]
Message-ID: <20241004132037.57528-1-thomas.hellstrom@linux.intel.com> (raw)

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


             reply	other threads:[~2024-10-04 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 13:20 Thomas Hellström [this message]
2024-10-07 11:40 ` ✓ CI.Patch_applied: success for drm/xe/tests: include linux/prandom.h as well as linux/random.h 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241004132037.57528-1-thomas.hellstrom@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.