✗ CI.checkpatch: warning for drm/xe/tests: include linux/prandom.h as well as linux/random.h
Patchwork
patchwork at emeril.freedesktop.org
Mon Oct 7 11:40:58 UTC 2024
== Series Details ==
Series: drm/xe/tests: include linux/prandom.h as well as linux/random.h
URL : https://patchwork.freedesktop.org/series/139561/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e5d6e5fc0cb17fdfcc018217faabc30dbb3ea752
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Fri Oct 4 15:20:37 2024 +0200
drm/xe/tests: include linux/prandom.h as well as linux/random.h
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 at linux.intel.com>
+ /mt/dim checkpatch 9d79cb6da4e37d5ed37db2917b0b69c3f58cf845 drm-intel
e5d6e5fc0cb1 drm/xe/tests: include linux/prandom.h as well as linux/random.h
-:13: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#13:
38d1a9d296c8 ("random: Do not include <linux/prandom.h> in <linux/random.h>")
total: 0 errors, 1 warnings, 0 checks, 7 lines checked
More information about the Intel-xe
mailing list