[linux-next][P9]Build error at drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69 error: field mirror has incomplete type

2 messages, 2 authors, 2019-07-09 · open the first message on its own page

[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

Re: [linux-next][P9]Build error at drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69 error: field mirror has incomplete type

From: Nathan Chancellor <hidden>
Date: 2019-07-09 16:34:27

On Tue, Jul 09, 2019 at 09:56:37PM +0530, Abdul Haleem wrote:
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
This should be fixed on next-20190709:

https://git.kernel.org/next/linux-next/c/e5eaa7cc0c0359cfe17b0027a6ac5eda7a9635db

Cheers,
Nathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help