[Intel-gfx] [PATCH] drm/i915: Fix build warning on 32-bit

2015-08-26 Thread Jani Nikula
On Wed, 26 Aug 2015, Daniel Vetter wrote: > On Mon, Aug 17, 2015 at 05:19:09PM +, Zanoni, Paulo R wrote: >> Em Sex, 2015-08-14 às 12:35 +0200, Thierry Reding escreveu: >> > From: Thierry Reding >> > >> > The gtt.stolen_size field is of type size_t, and so should be printed >> > using %zu to

[Intel-gfx] [PATCH] drm/i915: Fix build warning on 32-bit

2015-08-26 Thread Daniel Vetter
On Wed, Aug 26, 2015 at 10:26:35AM +0300, Jani Nikula wrote: > On Wed, 26 Aug 2015, Daniel Vetter wrote: > > On Mon, Aug 17, 2015 at 05:19:09PM +, Zanoni, Paulo R wrote: > >> Em Sex, 2015-08-14 às 12:35 +0200, Thierry Reding escreveu: > >> > From: Thierry Reding > >> > > >> > The gtt.stolen

[Intel-gfx] [PATCH] drm/i915: Fix build warning on 32-bit

2015-08-26 Thread Daniel Vetter
On Mon, Aug 17, 2015 at 05:19:09PM +, Zanoni, Paulo R wrote: > Em Sex, 2015-08-14 às 12:35 +0200, Thierry Reding escreveu: > > From: Thierry Reding > > > > The gtt.stolen_size field is of type size_t, and so should be printed > > using %zu to avoid build warnings on either 32-bit and 64-bit

[Intel-gfx] [PATCH] drm/i915: Fix build warning on 32-bit

2015-08-17 Thread Zanoni, Paulo R
Em Sex, 2015-08-14 às 12:35 +0200, Thierry Reding escreveu: > From: Thierry Reding > > The gtt.stolen_size field is of type size_t, and so should be printed > using %zu to avoid build warnings on either 32-bit and 64-bit builds. While the suggestion from Chris sounds good, this patch alone is a

[PATCH] drm/i915: Fix build warning on 32-bit

2015-08-14 Thread Thierry Reding
From: Thierry Reding The gtt.stolen_size field is of type size_t, and so should be printed using %zu to avoid build warnings on either 32-bit and 64-bit builds. Signed-off-by: Thierry Reding --- drivers/gpu/drm/i915/i915_gem_stolen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Intel-gfx] [PATCH] drm/i915: Fix build warning on 32-bit

2015-08-14 Thread Chris Wilson
On Fri, Aug 14, 2015 at 12:35:23PM +0200, Thierry Reding wrote: > From: Thierry Reding > > The gtt.stolen_size field is of type size_t, and so should be printed > using %zu to avoid build warnings on either 32-bit and 64-bit builds. Or better would be to convert stolen.size to u32 so that we kno