[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-31 Thread Baoyou Xie
dear all: I have resend a patch, which consolidate the 'nouveau' changes into it, its subject is "drm/nouveau: silence warnings reported during builds with W=1". FYI. On 30 August 2016 at 20:40, Arnd Bergmann wrote: > On Tuesday 30 August 2016, Baoyou Xie wrote: > > On 30 August 2016 at 0

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-30 Thread Baoyou Xie
On 30 August 2016 at 00:01, Sean Paul wrote: > On Mon, Aug 29, 2016 at 9:02 AM, Baoyou Xie wrote: > > We get 1 warning when build kernel with W=1: > > drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no > previous prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes]

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-30 Thread Arnd Bergmann
On Tuesday 30 August 2016, Baoyou Xie wrote: > On 30 August 2016 at 00:01, Sean Paul wrote: > > > On Mon, Aug 29, 2016 at 9:02 AM, Baoyou Xie > > wrote: > > > We get 1 warning when build kernel with W=1: > > > drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no > > previous pro

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-29 Thread Baoyou Xie
We get 1 warning when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no previous prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but ca

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-29 Thread Sean Paul
On Mon, Aug 29, 2016 at 9:02 AM, Baoyou Xie wrote: > We get 1 warning when build kernel with W=1: > drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no previous > prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes] > > In fact, this function is only used in the file