mm: page_alloc: set sysctl_lowmem_reserve_ratio storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Thu, 18 May 2023 14:11:19 +0000 (10:11 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:35 +0000 (16:25 -0700)
commit62069aace145658bc8ce79cbf7b6cf611db4a22f
treeda622b8f0cb94f165060d1cab293e23d7cfb2882
parent5c1c03de1b1636f041a275e777171307cac8d958
mm: page_alloc: set sysctl_lowmem_reserve_ratio storage-class-specifier to static

smatch reports
mm/page_alloc.c:247:5: warning: symbol
  'sysctl_lowmem_reserve_ratio' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static

Link: https://lkml.kernel.org/r/20230518141119.927074-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c