[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510161801.SLot2IHE%fengguang.wu@intel.com>
Date: Fri, 16 Oct 2015 18:59:57 +0800
From: kbuild test robot <lkp@...el.com>
To: Xishi Qiu <qiuxishi@...wei.com>
Cc: kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
Vlastimil Babka <vbabka@...e.cz>, Mel Gorman <mgorman@...e.de>,
mhocko@...e.com, js1304@...il.com,
Johannes Weiner <hannes@...xchg.org>,
alexander.h.duyck@...hat.com, zhongjiang@...wei.com,
Linux MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: reset migratetype if the range spans two pageblocks
Hi Xishi,
[auto build test ERROR on v4.3-rc5 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Xishi-Qiu/mm-reset-migratetype-if-the-range-spans-two-pageblocks/20151016-180949
config: i386-randconfig-s1-201541 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
mm/page_alloc.c: In function '__free_one_page':
>> mm/page_alloc.c:731:3: error: implicit declaration of function 'change_pageblock_range' [-Werror=implicit-function-declaration]
change_pageblock_range(page, order, migratetype);
^
mm/page_alloc.c: At top level:
>> mm/page_alloc.c:1515:13: warning: conflicting types for 'change_pageblock_range'
static void change_pageblock_range(struct page *pageblock_page,
^
>> mm/page_alloc.c:1515:13: error: static declaration of 'change_pageblock_range' follows non-static declaration
mm/page_alloc.c:731:3: note: previous implicit declaration of 'change_pageblock_range' was here
change_pageblock_range(page, order, migratetype);
^
cc1: some warnings being treated as errors
vim +/change_pageblock_range +731 mm/page_alloc.c
725
726 list_add(&page->lru, &zone->free_area[order].free_list[migratetype]);
727 out:
728 zone->free_area[order].nr_free++;
729 /* If the range spans two pageblocks, reset the migratetype. */
730 if (order > pageblock_order)
> 731 change_pageblock_range(page, order, migratetype);
732 }
733
734 static inline int free_pages_check(struct page *page)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (24803 bytes)
Powered by blists - more mailing lists