drivers/gpu/drm/drm_color_mgmt.c:573:12: warning: symbol 'drm_get_color_space_name' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- drm_color_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c index 75e6dbbd00813..1ebd3fdb7717d 100644 --- a/drivers/gpu/drm/drm_color_mgmt.c +++ b/drivers/gpu/drm/drm_color_mgmt.c @@ -570,7 +570,7 @@ const char *drm_get_color_range_name(enum drm_color_range range) * In contrast to the other drm_get_*_name functions this one here returns a * const pointer and hence is threadsafe. */ -const char *drm_get_color_space_name(enum drm_color_space space) +static const char *drm_get_color_space_name(enum drm_color_space space) { if (WARN_ON(space >= ARRAY_SIZE(color_space_name))) return "unknown";