]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc: mark some symbols with static keyword
authorZou Wei <zou_wei@huawei.com>
Tue, 15 Dec 2020 03:11:12 +0000 (19:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:43 +0000 (12:13 -0800)
commit133940da93a2da2c7cb033d7181bf5f6badf4d71
tree67028a07d58fbae34ceb14f3490d03ffa88b2b22
parentbf0df956f6cbe9f45a0b804f91977a6c2eca4496
mm/page_alloc: mark some symbols with static keyword

Fix the following sparse warnings:

  mm/page_alloc.c:3040:6: warning: symbol '__drain_all_pages' was not declared. Should it be static?
  mm/page_alloc.c:6349:6: warning: symbol '__zone_set_pageset_high_and_batch' was not declared. Should it be static?

Link: https://lkml.kernel.org/r/1605517365-65858-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c