Skip to content
Commit 62069aac authored by Tom Rix's avatar Tom Rix Committed by Andrew Morton
Browse files

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: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 5c1c03de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment