Re: [PATCH] drm/nouveau: change base917c_format from global to static

2022-04-18 Thread Lyude Paul
Reviewed-by: Lyude Paul Will push this to the appropriate branch in a little bit On Mon, 2022-04-18 at 10:18 -0400, Tom Rix wrote: > Smatch reports this issue > base917c.c:26:1: warning: symbol 'base917c_format' >   was not declared. Should it be static? > > base917c_format is only used in base

[PATCH] drm/nouveau: change base917c_format from global to static

2022-04-18 Thread Tom Rix
Smatch reports this issue base917c.c:26:1: warning: symbol 'base917c_format' was not declared. Should it be static? base917c_format is only used in base917.c. Single file variables should not be global so change base917c_format's storage-class specifier to static. Signed-off-by: Tom Rix ---