Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-21 Thread Thierry Reding
On Thu, Feb 20, 2014 at 10:24:53PM +0100, Paul Bolle wrote: > On Thu, 2014-02-20 at 16:07 -0500, Ilia Mirkin wrote: > > On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle wrote: > > > @@ -935,7 +935,7 @@ static ssize_t radeon_ttm_gtt_read(struct file *f, > > > char __user *buf, > > > while

Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-21 Thread Thierry Reding
On Thu, Feb 20, 2014 at 10:24:53PM +0100, Paul Bolle wrote: On Thu, 2014-02-20 at 16:07 -0500, Ilia Mirkin wrote: On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle pebo...@tiscali.nl wrote: @@ -935,7 +935,7 @@ static ssize_t radeon_ttm_gtt_read(struct file *f, char __user *buf,

Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Paul Bolle
On Thu, 2014-02-20 at 16:07 -0500, Ilia Mirkin wrote: > On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle wrote: > > @@ -935,7 +935,7 @@ static ssize_t radeon_ttm_gtt_read(struct file *f, char > > __user *buf, > > while (size) { > > loff_t p = *pos / PAGE_SIZE; > >

Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Ilia Mirkin
On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle wrote: > Building radeon_ttm.o on 32 bit x86 triggers a warning: > In file included from include/asm-generic/bug.h:13:0, > from [...]/arch/x86/include/asm/bug.h:38, > from include/linux/bug.h:4, >

[PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Paul Bolle
Building radeon_ttm.o on 32 bit x86 triggers a warning: In file included from include/asm-generic/bug.h:13:0, from [...]/arch/x86/include/asm/bug.h:38, from include/linux/bug.h:4, from include/drm/drm_mm.h:39,

[PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Paul Bolle
Building radeon_ttm.o on 32 bit x86 triggers a warning: In file included from include/asm-generic/bug.h:13:0, from [...]/arch/x86/include/asm/bug.h:38, from include/linux/bug.h:4, from include/drm/drm_mm.h:39,

Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Ilia Mirkin
On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle pebo...@tiscali.nl wrote: Building radeon_ttm.o on 32 bit x86 triggers a warning: In file included from include/asm-generic/bug.h:13:0, from [...]/arch/x86/include/asm/bug.h:38, from

Re: [PATCH] drm/radeon: silence GCC warning on 32 bit

2014-02-20 Thread Paul Bolle
On Thu, 2014-02-20 at 16:07 -0500, Ilia Mirkin wrote: On Thu, Feb 20, 2014 at 4:02 PM, Paul Bolle pebo...@tiscali.nl wrote: @@ -935,7 +935,7 @@ static ssize_t radeon_ttm_gtt_read(struct file *f, char __user *buf, while (size) { loff_t p = *pos / PAGE_SIZE;