Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-24 Thread Thierry Reding
On Thu, Jan 19, 2017 at 04:09:47PM +0100, Arnd Bergmann wrote: > On Thursday, January 19, 2017 12:00:58 PM CET Thierry Reding wrote: > > On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > > > The tegra DRM driver is almost ok without an MMU, but there > > > is one small warning that

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-24 Thread Thierry Reding
On Thu, Jan 19, 2017 at 04:09:47PM +0100, Arnd Bergmann wrote: > On Thursday, January 19, 2017 12:00:58 PM CET Thierry Reding wrote: > > On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > > > The tegra DRM driver is almost ok without an MMU, but there > > > is one small warning that

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-19 Thread Arnd Bergmann
On Thursday, January 19, 2017 12:00:58 PM CET Thierry Reding wrote: > On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > > The tegra DRM driver is almost ok without an MMU, but there > > is one small warning that I get: > > > > drivers/gpu/drm/tegra/gem.c: In function

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-19 Thread Arnd Bergmann
On Thursday, January 19, 2017 12:00:58 PM CET Thierry Reding wrote: > On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > > The tegra DRM driver is almost ok without an MMU, but there > > is one small warning that I get: > > > > drivers/gpu/drm/tegra/gem.c: In function

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-19 Thread Thierry Reding
On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > The tegra DRM driver is almost ok without an MMU, but there > is one small warning that I get: > > drivers/gpu/drm/tegra/gem.c: In function 'tegra_drm_mmap': > drivers/gpu/drm/tegra/gem.c:508:12: unused variable 'prot' > > This

Re: [PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-19 Thread Thierry Reding
On Thu, Jan 12, 2017 at 12:13:51PM +0100, Arnd Bergmann wrote: > The tegra DRM driver is almost ok without an MMU, but there > is one small warning that I get: > > drivers/gpu/drm/tegra/gem.c: In function 'tegra_drm_mmap': > drivers/gpu/drm/tegra/gem.c:508:12: unused variable 'prot' > > This

[PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-12 Thread Arnd Bergmann
The tegra DRM driver is almost ok without an MMU, but there is one small warning that I get: drivers/gpu/drm/tegra/gem.c: In function 'tegra_drm_mmap': drivers/gpu/drm/tegra/gem.c:508:12: unused variable 'prot' This marks the variable as __maybe_unused instead. Signed-off-by: Arnd Bergmann

[PATCH] drm: tegra: shut up harmless warning on NOMMU

2017-01-12 Thread Arnd Bergmann
The tegra DRM driver is almost ok without an MMU, but there is one small warning that I get: drivers/gpu/drm/tegra/gem.c: In function 'tegra_drm_mmap': drivers/gpu/drm/tegra/gem.c:508:12: unused variable 'prot' This marks the variable as __maybe_unused instead. Signed-off-by: Arnd Bergmann ---