All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [next:master 59/85] mm/huge_memory.c:1424:2: error: implicit declaration of function 'pmd_pgprot'
Date: Thu, 18 Oct 2012 10:55:21 +0000	[thread overview]
Message-ID: <20121018105521.GP21995@yliu-dev.sh.intel.com> (raw)

Hi Peter,

JUST FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
config: s390-allmodconfig # make ARCH=s390 allmodconfig

All error/warnings:

mm/huge_memory.c: In function '__split_huge_page_map':
mm/huge_memory.c:1424:2: error: implicit declaration of function 'pmd_pgprot' [-Werror=implicit-function-declaration]
mm/huge_memory.c:1424:7: error: incompatible types when assigning to type 'pgprot_t' from type 'int'
cc1: some warnings being treated as errors

vim +1424 mm/huge_memory.c

71e3aac0 Andrea Arcangeli 2011-01-13  1418  	spin_lock(&mm->page_table_lock);
71e3aac0 Andrea Arcangeli 2011-01-13  1419  	pmd = page_check_address_pmd(page, mm, address,
71e3aac0 Andrea Arcangeli 2011-01-13  1420  				     PAGE_CHECK_ADDRESS_PMD_SPLITTING_FLAG);
93c9d633 Peter Zijlstra   2012-07-17  1421  	if (!pmd)
93c9d633 Peter Zijlstra   2012-07-17  1422  		goto unlock;
71e3aac0 Andrea Arcangeli 2011-01-13  1423  
93c9d633 Peter Zijlstra   2012-07-17 @1424  	prot = pmd_pgprot(*pmd);
64a863c8 Stephen Rothwell 2012-10-18  1425  	pgtable = pgtable_trans_huge_withdraw(mm);
93c9d633 Peter Zijlstra   2012-07-17  1426  	pmd_populate(mm, &_pmd, pgtable);
93c9d633 Peter Zijlstra   2012-07-17  1427  


---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-10-18 10:55 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=20121018105521.GP21995@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@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.