Re: [PATCH] drm/msm/mdp5: set varaiable msm8x76_config storage-class-specifier to static

From: Dmitry Baryshkov
Date: Tue Apr 04 2023 - 17:49:47 EST


On 04/04/2023 21:53, Tom Rix wrote:
smatch reports
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c:658:26: warning: symbol
'msm8x76_config' was not declared. Should it be static?

This variable is only used in one file so should be static.

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry