[Intel-xe] ✗ CI.KUnit: failure for drm/xe: Use milliseconds instead of jiffies in uapi for user fence
Patchwork
patchwork at emeril.freedesktop.org
Fri May 19 11:00:33 UTC 2023
== Series Details ==
Series: drm/xe: Use milliseconds instead of jiffies in uapi for user fence
URL : https://patchwork.freedesktop.org/series/118011/
State : failure
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:../drivers/gpu/drm/xe/xe_wait_user_fence.c: In function ‘xe_wait_user_fence_ioctl’:
../drivers/gpu/drm/xe/xe_wait_user_fence.c:159:3: error: expected ‘)’ before ‘return’
159 | return -EINVAL;
| ^~~~~~
../drivers/gpu/drm/xe/xe_wait_user_fence.c:158:5: note: to match this ‘(’
158 | if (XE_IOCTL_ERR(xe, args->timeout > UINT_MAX)
| ^
../drivers/gpu/drm/xe/xe_wait_user_fence.c:213:1: error: expected expression before ‘}’ token
213 | }
| ^
../drivers/gpu/drm/xe/xe_wait_user_fence.c:108:16: warning: unused variable ‘timeout’ [-Wunused-variable]
108 | unsigned long timeout;
| ^~~~~~~
../drivers/gpu/drm/xe/xe_wait_user_fence.c:213:1: error: control reaches end of non-void function [-Werror=return-type]
213 | }
| ^
At top level:
../drivers/gpu/drm/xe/xe_wait_user_fence.c:82:22: warning: ‘msecs_to_jiffies_timeout’ defined but not used [-Wunused-function]
82 | static unsigned long msecs_to_jiffies_timeout(const unsigned int m)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_wait_user_fence.c:17:12: warning: ‘do_compare’ defined but not used [-Wunused-function]
17 | static int do_compare(u64 addr, u64 value, u64 mask, u16 op)
| ^~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/xe_wait_user_fence.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [../scripts/Makefile.build:494: drivers/gpu/drm/xe] Error 2
make[4]: *** [../scripts/Makefile.build:494: drivers/gpu/drm] Error 2
make[3]: *** [../scripts/Makefile.build:494: drivers/gpu] Error 2
make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
make[1]: *** [/kernel/Makefile:2025: .] Error 2
make: *** [Makefile:226: __sub-make] Error 2
[11:00:06] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[11:00:10] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
More information about the Intel-xe
mailing list