On 20.08.2015 08:50, Dave Airlie wrote: > CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_cs.o > /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c: > In function ‘amdgpu_cs_parser_init’: > /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:211:21: > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > chunk_array_user = (uint64_t __user *)(cs->in.chunks); > ^ > /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:231:15: > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > chunk_ptr = (void __user *)chunk_array[i]; > ^ > /home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:241:11: > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > cdata = (void __user *)user_chunk.chunk_data; > ^ Looks like the (unsigned long) casts removed by commit e60b344f ("drm/amdgpu: optimize amdgpu_parser_init") need to stay. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel