RE: [PATCH] drm/amdgpu/virt: don't dereference undefined 'module' struct

2017-11-03 Thread Yu, Xiangliang
Reviewed-By: Xiangliang Yu Thanks! > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Thursday, November 02, 2017 7:26 PM > To: Deucher, Alexander ; Koenig, Christian > > Cc: Arnd

Re: [PATCH] drm/amdgpu/virt: don't dereference undefined 'module' struct

2017-11-02 Thread Alex Deucher
On Thu, Nov 2, 2017 at 3:22 PM, Harry Wentland wrote: > On 2017-11-02 07:25 AM, Arnd Bergmann wrote: >> Accessing the THIS_MODULE directly is only possible when modules >> are enabled, otherwise we get a build failure: >> >> drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In

Re: [PATCH] drm/amdgpu/virt: don't dereference undefined 'module' struct

2017-11-02 Thread Harry Wentland
On 2017-11-02 07:25 AM, Arnd Bergmann wrote: > Accessing the THIS_MODULE directly is only possible when modules > are enabled, otherwise we get a build failure: > > drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In function > 'amdgpu_virt_init_data_exchange': >