* [linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9356/9695] mm/hugetlb.c:1583:13: sparse: symbol '__alloc_buddy_huge_page_no_mpol' was not declared. Should it be static?
@ 2015-10-21 12:58 kbuild test robot
2015-10-21 12:58 ` [RFC PATCH] mm, hugetlb: __alloc_buddy_huge_page_no_mpol() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-10-21 12:58 UTC (permalink / raw)
To: Dave Hansen; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List
Hi Dave,
[auto build test WARNING on v4.3-rc6-108-gce1fad2 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> mm/hugetlb.c:1583:13: sparse: symbol '__alloc_buddy_huge_page_no_mpol' was not declared. Should it be static?
>> mm/hugetlb.c:1593:13: sparse: symbol '__alloc_buddy_huge_page_with_mpol' was not declared. Should it be static?
mm/hugetlb.c:1642:20: sparse: context imbalance in 'gather_surplus_pages' - unexpected unlock
mm/hugetlb.c:3361:9: sparse: context imbalance in 'hugetlb_cow' - unexpected unlock
mm/hugetlb.c:3905:25: sparse: context imbalance in 'follow_hugetlb_page' - different lock contexts for basic block
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread* [RFC PATCH] mm, hugetlb: __alloc_buddy_huge_page_no_mpol() can be static 2015-10-21 12:58 [linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9356/9695] mm/hugetlb.c:1583:13: sparse: symbol '__alloc_buddy_huge_page_no_mpol' was not declared. Should it be static? kbuild test robot @ 2015-10-21 12:58 ` kbuild test robot 0 siblings, 0 replies; 2+ messages in thread From: kbuild test robot @ 2015-10-21 12:58 UTC (permalink / raw) To: Dave Hansen; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- hugetlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index c57d671..e1248f9 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -1580,7 +1580,7 @@ static struct page *__alloc_buddy_huge_page(struct hstate *h, * NUMA_NO_NODE, which means that it may be allocated * anywhere. */ -struct page *__alloc_buddy_huge_page_no_mpol(struct hstate *h, int nid) +static struct page *__alloc_buddy_huge_page_no_mpol(struct hstate *h, int nid) { unsigned long addr = -1; @@ -1590,7 +1590,7 @@ struct page *__alloc_buddy_huge_page_no_mpol(struct hstate *h, int nid) /* * Use the VMA's mpolicy to allocate a huge page from the buddy. */ -struct page *__alloc_buddy_huge_page_with_mpol(struct hstate *h, +static struct page *__alloc_buddy_huge_page_with_mpol(struct hstate *h, struct vm_area_struct *vma, unsigned long addr) { return __alloc_buddy_huge_page(h, vma, addr, NUMA_NO_NODE); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-21 14:10 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-10-21 12:58 [linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9356/9695] mm/hugetlb.c:1583:13: sparse: symbol '__alloc_buddy_huge_page_no_mpol' was not declared. Should it be static? kbuild test robot 2015-10-21 12:58 ` [RFC PATCH] mm, hugetlb: __alloc_buddy_huge_page_no_mpol() can be static kbuild test robot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox