drivers/gpu/drm/drm_color_mgmt.c:529:12: warning: symbol 'drm_get_color_transfer_function_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 2404b07046c54..1877b10dd3296 100644 --- a/drivers/gpu/drm/drm_color_mgmt.c +++ b/drivers/gpu/drm/drm_color_mgmt.c @@ -526,7 +526,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_transfer_function_name(enum drm_color_transfer_function tf) +static const char *drm_get_color_transfer_function_name(enum drm_color_transfer_function tf) { if (WARN_ON(tf >= ARRAY_SIZE(color_tf_name))) return "unknown";