[PATCH] drm/amdgpu: fix 32-bit compiler warning

2015-10-07 Thread Arnd Bergmann
On Wednesday 07 October 2015 10:57:11 Christian König wrote: > On 07.10.2015 09:41, Arnd Bergmann wrote: > > The new amdgpu driver passes a user space pointer in a 64-bit structure > > member, which is the correct way to do it, but it attempts to > > directly cast it to a __user pointer in the ker

[PATCH] drm/amdgpu: fix 32-bit compiler warning

2015-10-07 Thread Christian König
On 07.10.2015 09:41, Arnd Bergmann wrote: > The new amdgpu driver passes a user space pointer in a 64-bit structure > member, which is the correct way to do it, but it attempts to > directly cast it to a __user pointer in the kernel, which causes > a warning in three places: > > drm/amd/amdgpu/amdg

[PATCH] drm/amdgpu: fix 32-bit compiler warning

2015-10-07 Thread Chris Wilson
On Wed, Oct 07, 2015 at 10:57:11AM +0200, Christian König wrote: > On 07.10.2015 09:41, Arnd Bergmann wrote: > >The new amdgpu driver passes a user space pointer in a 64-bit structure > >member, which is the correct way to do it, but it attempts to > >directly cast it to a __user pointer in the ke

[PATCH] drm/amdgpu: fix 32-bit compiler warning

2015-10-07 Thread Alex Deucher
On Wed, Oct 7, 2015 at 5:18 AM, Arnd Bergmann wrote: > On Wednesday 07 October 2015 10:57:11 Christian König wrote: >> On 07.10.2015 09:41, Arnd Bergmann wrote: >> > The new amdgpu driver passes a user space pointer in a 64-bit structure >> > member, which is the correct way to do it, but it atte

[PATCH] drm/amdgpu: fix 32-bit compiler warning

2015-10-07 Thread Arnd Bergmann
The new amdgpu driver passes a user space pointer in a 64-bit structure member, which is the correct way to do it, but it attempts to directly cast it to a __user pointer in the kernel, which causes a warning in three places: drm/amd/amdgpu/amdgpu_cs.c: In function 'amdgpu_cs_parser_init': drm/amd