All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [memcg:since-3.5 112/137] mm/vmscan.c:677:26: error: parameter 4 ('ttu_flags') has incomplete type
Date: Thu, 13 Sep 2012 17:00:43 +0000	[thread overview]
Message-ID: <20120913170043.GA4127@localhost> (raw)

Hi Minchan,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-3.5
head:   d64f22e5761b1e367ba5d1e04d2fe5e0283aecbc
commit: a653bcafb3ac904b44dacddf6be188f5290c4732 [112/137] mm: cma: discard clean pages during contiguous allocation instead of migration
config: m32r-m32104ut_defconfig

All related error/warning messages:

mm/vmscan.c:680:11: warning: 'enum ttu_flags' declared inside parameter list [enabled by default]
mm/vmscan.c:680:11: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
mm/vmscan.c:677:26: error: parameter 4 ('ttu_flags') has incomplete type
mm/vmscan.c:674:22: warning: function declaration isn't a prototype [-Wstrict-prototypes]
mm/vmscan.c: In function 'reclaim_clean_pages_from_list':
mm/vmscan.c:987:5: error: 'TTU_UNMAP' undeclared (first use in this function)
mm/vmscan.c:987:5: note: each undeclared identifier is reported only once for each function it appears in
mm/vmscan.c:987:15: error: 'TTU_IGNORE_ACCESS' undeclared (first use in this function)
mm/vmscan.c: In function 'shrink_inactive_list':
mm/vmscan.c:1312:56: error: 'TTU_UNMAP' undeclared (first use in this function)

vim +677 mm/vmscan.c
   672	 * shrink_page_list() returns the number of reclaimed pages
   673	 */
   674	static unsigned long shrink_page_list(struct list_head *page_list,
   675					      struct zone *zone,
   676					      struct scan_control *sc,
 > 677					      enum ttu_flags ttu_flags,
   678					      unsigned long *ret_nr_dirty,
   679					      unsigned long *ret_nr_writeback,
   680					      bool force_reclaim)
   681	{
   682		LIST_HEAD(ret_pages);

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

                 reply	other threads:[~2012-09-13 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120913170043.GA4127@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.