[Intel-xe] ✗ CI.KUnit: failure for Add support for DRM cgroup memory accounting.
Patchwork
patchwork at emeril.freedesktop.org
Wed May 3 08:38:47 UTC 2023
== Series Details ==
Series: Add support for DRM cgroup memory accounting.
URL : https://patchwork.freedesktop.org/series/117225/
State : failure
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/xe_device.h:15,
from ../drivers/gpu/drm/xe/tests/xe_pci_test.c:13:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/tests/xe_pci_test.o] Error 1
make[7]: *** Waiting for unfinished jobs....
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/xe_vm_types.h:14,
from ../drivers/gpu/drm/xe/xe_bo.h:11,
from ../drivers/gpu/drm/xe/xe_bo.c:6:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/xe_vm_types.h:14,
from ../drivers/gpu/drm/xe/xe_bo.h:11,
from ../drivers/gpu/drm/xe/xe_bo_evict.c:8:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/xe_device.h:15,
from ../drivers/gpu/drm/xe/xe_bb.c:9:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: some warnings being treated as errors
make[6]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/xe_bb.o] Error 1
make[6]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/tests/xe_rtp_test.c:16:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
make[6]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/xe_bo_evict.o] Error 1
In file included from ../drivers/gpu/drm/xe/xe_device_types.h:15,
from ../drivers/gpu/drm/xe/xe_device.h:15,
from ../drivers/gpu/drm/xe/tests/xe_wa_test.c:11:
../include/linux/cgroup_drm.h:51:16: warning: ‘struct drm_cgroup’ declared inside parameter list will not be visible outside of this definition or declaration
51 | struct drm_cgroup *drm_cg)
| ^~~~~~~~~~
../include/linux/cgroup_drm.h: In function ‘drmmcg_register_device’:
../include/linux/cgroup_drm.h:86:36: error: passing argument 2 of ‘drmcg_register_device’ from incompatible pointer type [-Werror=incompatible-pointer-types]
86 | return drmcg_register_device(dev, cgdev) ?:
| ^~~~~
| |
| struct drmcgroup_device *
../include/linux/cgroup_drm.h:51:28: note: expected ‘struct drm_cgroup *’ but argument is of type ‘struct drmcgroup_device *’
51 | struct drm_cgroup *drm_cg)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/tests/xe_wa_test.o] Error 1
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/tests/xe_rtp_test.o] Error 1
make[6]: *** [../scripts/Makefile.build:494: drivers/gpu/drm/xe/tests] Error 2
cc1: some warnings being treated as errors
make[6]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/xe_bo.o] Error 1
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[3]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/kernel/Makefile:2025: .] Error 2
make: *** [Makefile:226: __sub-make] Error 2
[08:38:24] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[08:38:28] 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