* Re: linux-next: Tree for Nov 6 (amdgpu_virt.c) [not found] <20171106183019.46c29b1f@canb.auug.org.au> @ 2017-11-06 17:20 ` Randy Dunlap [not found] ` <6f48e708-ee6f-641f-d474-4defeab93de4-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Randy Dunlap @ 2017-11-06 17:20 UTC (permalink / raw) To: Stephen Rothwell, Linux-Next Mailing List Cc: Linux Kernel Mailing List, dri-devel, amd-gfx On 11/05/2017 11:30 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20171103: > on i386, when CONFIG_MODULES is not set: CC drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o In file included from ../arch/x86/include/asm/atomic.h:5:0, from ../include/linux/atomic.h:5, from ../drivers/gpu/drm/amd/amdgpu/amdgpu.h:31, from ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:24: ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In function 'amdgpu_virt_init_data_exchange': ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type if (THIS_MODULE->version != NULL) ^ ../include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' if (THIS_MODULE->version != NULL) ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type if (THIS_MODULE->version != NULL) ^ ../include/linux/compiler.h:58:42: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' if (THIS_MODULE->version != NULL) ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type if (THIS_MODULE->version != NULL) ^ ../include/linux/compiler.h:69:16: note: in definition of macro '__trace_if' ______r = !!(cond); \ ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' if (THIS_MODULE->version != NULL) ^ ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:332:29: error: dereferencing pointer to incomplete type strcpy(str, THIS_MODULE->version); ^ ../scripts/Makefile.build:314: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o' failed make[5]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o] Error 1 Reported-by: Randy Dunlap <rdunlap@infradead.org> -- ~Randy ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <6f48e708-ee6f-641f-d474-4defeab93de4-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: linux-next: Tree for Nov 6 (amdgpu_virt.c) [not found] ` <6f48e708-ee6f-641f-d474-4defeab93de4-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2017-11-06 17:30 ` Alex Deucher 0 siblings, 0 replies; 2+ messages in thread From: Alex Deucher @ 2017-11-06 17:30 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, dri-devel, Linux-Next Mailing List, Linux Kernel Mailing List, amd-gfx list On Mon, Nov 6, 2017 at 12:20 PM, Randy Dunlap <rdunlap@infradead.org> wrote: > On 11/05/2017 11:30 PM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20171103: >> > > on i386, when CONFIG_MODULES is not set: > > CC drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o > In file included from ../arch/x86/include/asm/atomic.h:5:0, > from ../include/linux/atomic.h:5, > from ../drivers/gpu/drm/amd/amdgpu/amdgpu.h:31, > from ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:24: > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In function 'amdgpu_virt_init_data_exchange': > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type > if (THIS_MODULE->version != NULL) > ^ > ../include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' > if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' > if (THIS_MODULE->version != NULL) > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type > if (THIS_MODULE->version != NULL) > ^ > ../include/linux/compiler.h:58:42: note: in definition of macro '__trace_if' > if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' > if (THIS_MODULE->version != NULL) > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type > if (THIS_MODULE->version != NULL) > ^ > ../include/linux/compiler.h:69:16: note: in definition of macro '__trace_if' > ______r = !!(cond); \ > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if' > if (THIS_MODULE->version != NULL) > ^ > ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:332:29: error: dereferencing pointer to incomplete type > strcpy(str, THIS_MODULE->version); > ^ > ../scripts/Makefile.build:314: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o' failed > make[5]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o] Error 1 > > > > Reported-by: Randy Dunlap <rdunlap@infradead.org> Thanks. Fixed in: https://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=e477e940dad1836c6f6d23353e424665b9316b6e Alex _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-06 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20171106183019.46c29b1f@canb.auug.org.au>
2017-11-06 17:20 ` linux-next: Tree for Nov 6 (amdgpu_virt.c) Randy Dunlap
[not found] ` <6f48e708-ee6f-641f-d474-4defeab93de4-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2017-11-06 17:30 ` Alex Deucher
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).