[linux-next][P9]Build error at drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69 error: field mirror has incomplete type
From: Abdul Haleem <hidden>
Date: 2019-07-09 16:27:06
Greeting's
linux-next failed to build on Power 9 Box with below error
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu.h:72:0,
from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:39:
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69:20: error: field ‘mirror’
has incomplete type
struct hmm_mirror mirror;
^
make[5]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o] Error 1
make[4]: *** [drivers/gpu/drm/amd/amdgpu] Error 2
make[3]: *** [drivers/gpu/drm] Error 2
make[2]: *** [drivers/gpu] Error 2
Kernel version: 5.2.0-next-20190708
Machine: Power 9
Kernel config attached
--
Regard's
Abdul Haleem
IBM Linux Technology Centre