Messages in this thread | | | From | Valentin Schneider <> | Subject | Re: [PATCH] sched/topology: set varaiables sched_energy_mutex,update storage-class-specifier to static | Date | Wed, 15 Mar 2023 16:21:19 +0000 |
| |
On 14/03/23 10:48, Tom Rix wrote: > smatch reports > kernel/sched/topology.c:212:1: warning: > symbol 'sched_energy_mutex' was not declared. Should it be static? > kernel/sched/topology.c:213:6: warning: > symbol 'sched_energy_update' was not declared. Should it be static? > > These variables are only used in topology.c, so should be static > > Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
| |