]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/gr/gf100-: change gf108_gr_fwif from global to static
authorTom Rix <trix@redhat.com>
Mon, 18 Apr 2022 15:28:10 +0000 (11:28 -0400)
committerLyude Paul <lyude@redhat.com>
Mon, 18 Apr 2022 18:54:13 +0000 (14:54 -0400)
commit3322a917ae8c69af1d0041dfb42a6bd8f485865a
treeb40325750573a58e78f938c37812f104bf54bbc5
parent80c61eacd40af6d1d0c3f1c147a8610b259be378
drm/nouveau/gr/gf100-: change gf108_gr_fwif from global to static

Smatch reports this issue
gf108.c:147:1: warning: symbol 'gf108_gr_fwif'
  was not declared. Should it be static?

gf108_gr_fwif is only used in gf108.c.  Single
file variables should not be global so change
gf108_gr_fwif's storage-class specifier to static.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220418152810.3280502-1-trix@redhat.com
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c