linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 190/376] mm/page_alloc.c:995: warning: 'free_pages_prepare' declared inline after being called
@ 2016-04-28  4:22 kbuild test robot
  2016-04-28 21:20 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-04-28  4:22 UTC (permalink / raw)
  Cc: kbuild-all, Mel Gorman, Johannes Weiner, Andrew Morton,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   3eb62ac3b0fd7cf3656c0e2a4ed3b0833bb2e952
commit: 2eb5dfe5f118fae2f81ddb971edb5280e1ce3e5e [190/376] mm-page_alloc-dont-duplicate-code-in-free_pcp_prepare-fix
config: avr32-atngw100_defconfig (attached as .config)
compiler: 
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2eb5dfe5f118fae2f81ddb971edb5280e1ce3e5e
        # save the attached .config to linux build tree
        make.cross ARCH=avr32 

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:995: warning: 'free_pages_prepare' declared inline after being called
   mm/page_alloc.c:995: warning: previous declaration of 'free_pages_prepare' was here

vim +/free_pages_prepare +995 mm/page_alloc.c

   979		if (unlikely(!PageTail(page))) {
   980			bad_page(page, "PageTail not set", 0);
   981			goto out;
   982		}
   983		if (unlikely(compound_head(page) != head_page)) {
   984			bad_page(page, "compound_head not consistent", 0);
   985			goto out;
   986		}
   987		ret = 0;
   988	out:
   989		page->mapping = NULL;
   990		clear_compound_head(page);
   991		return ret;
   992	}
   993	
   994	static bool free_pages_prepare(struct page *page, unsigned int order,
 > 995				       bool check_free);
   996	
   997	#ifdef CONFIG_DEBUG_VM
   998	static inline bool free_pcp_prepare(struct page *page)
   999	{
  1000		return free_pages_prepare(page, 0, true);
  1001	}
  1002	
  1003	static inline bool bulkfree_pcp_prepare(struct page *page)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 12366 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-28 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-28  4:22 [mmotm:master 190/376] mm/page_alloc.c:995: warning: 'free_pages_prepare' declared inline after being called kbuild test robot
2016-04-28 21:20 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox