Re: [PATCH] sched/psi: set varaiable psi_cgroups_enabled storage-class-specifier to static

From: Johannes Weiner
Date: Wed Apr 05 2023 - 12:46:44 EST


On Wed, Apr 05, 2023 at 12:36:02PM -0400, Tom Rix wrote:
> smatch reports
> kernel/sched/psi.c:143:1: warning: symbol
> 'psi_cgroups_enabled' 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>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>