[PATCH] drm/amdgpu: fix seq_printf format string

2015-11-10 Thread Alex Deucher
On Tue, Nov 10, 2015 at 7:17 AM, Arnd Bergmann wrote: > The amdgpu driver has a debugfs interface that shows the amount of > VRAM in use, but the newly added code causes a build error on > all 32-bit architectures: > > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1076:17: warning: format '%lu' > expec

[PATCH] drm/amdgpu: fix seq_printf format string

2015-11-10 Thread Arnd Bergmann
The amdgpu driver has a debugfs interface that shows the amount of VRAM in use, but the newly added code causes a build error on all 32-bit architectures: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1076:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '