Content-Type: multipart/mixed; boundary="===============7047987113188622947==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] mm: page_alloc: alloc_contig_ratelimit() can be static Date: Tue, 09 Mar 2021 08:30:46 +0800 Message-ID: <20210309003046.GA34778@7449abb4ec10> In-Reply-To: <20210308202047.1903802-1-minchan@kernel.org> List-Id: --===============7047987113188622947== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reported-by: kernel test robot Signed-off-by: kernel test robot --- page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 43d3e1e4ab487..149a2b0e2b098 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8345,12 +8345,12 @@ static unsigned long pfn_max_align_up(unsigned long= pfn) (defined(CONFIG_DYNAMIC_DEBUG_CORE) && defined(DYNAMIC_DEBUG_MODULE)) static DEFINE_RATELIMIT_STATE(alloc_contig_ratelimit_state, DEFAULT_RATELIMIT_INTERVAL, DEFAULT_RATELIMIT_BURST); -int alloc_contig_ratelimit(void) +static int alloc_contig_ratelimit(void) { return __ratelimit(&alloc_contig_ratelimit_state); } = -void dump_migrate_failure_pages(struct list_head *page_list) +static void dump_migrate_failure_pages(struct list_head *page_list) { DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure"); --===============7047987113188622947==--