linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Naoya Horiguchi <nao.horiguchi@gmail.com>
To: kbuild test robot <fengguang.wu@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
	kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [mmotm:master 105/365] arch/powerpc/mm/hugetlbpage.c:718:1: error: conflicting types for 'follow_huge_pud'
Date: Sun, 18 Jan 2015 22:34:28 +0900	[thread overview]
Message-ID: <54BBB664.6050402@gmail.com> (raw)
In-Reply-To: <201501171014.QrygxfEt%fengguang.wu@intel.com>

On Sat, Jan 17, 2015 at 10:59:14AM +0800, kbuild test robot wrote:
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   59f7a5af1a6c9e19c6e5152f26548c494a2d7338
> commit: 3ecd42e200dc8afcdcea809b1546783e3dc271be [105/365] mm/hugetlb: reduce arch dependent code around follow_huge_*
> config: powerpc-pasemi_defconfig (attached as .config)
> 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 3ecd42e200dc8afcdcea809b1546783e3dc271be
>   # save the attached .config to linux build tree
>   make.cross ARCH=powerpc
>
> All error/warnings:
>
> >> arch/powerpc/mm/hugetlbpage.c:718:1: error: conflicting types for 'follow_huge_pud'
>     follow_huge_pud(struct mm_struct *mm, unsigned long address,
>     ^
>    In file included from arch/powerpc/mm/hugetlbpage.c:14:0:
>    include/linux/hugetlb.h:103:14: note: previous declaration of 'follow_huge_pud' was here
>     struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address,
>                  ^
>
> vim +/follow_huge_pud +718 arch/powerpc/mm/hugetlbpage.c
>
>    712	{
>    713		BUG();
>    714		return NULL;
>    715	}
>    716	
>    717	struct page *
>  > 718	follow_huge_pud(struct mm_struct *mm, unsigned long address,
>    719			pmd_t *pmd, int write)

Invalid argument type. Andrew, could you please fold the following diff?

diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index b4c93e6b16e5..7e408bfc7948 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -716,7 +716,7 @@ follow_huge_pmd(struct mm_struct *mm, unsigned long address,
  
  struct page *
  follow_huge_pud(struct mm_struct *mm, unsigned long address,
-		pmd_t *pmd, int write)
+		pud_t *pud, int write)
  {
  	BUG();
  	return NULL;

Thanks,
Naoya Horiguchi

--
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>

      reply	other threads:[~2015-01-18 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17  2:59 [mmotm:master 105/365] arch/powerpc/mm/hugetlbpage.c:718:1: error: conflicting types for 'follow_huge_pud' kbuild test robot
2015-01-18 13:34 ` Naoya Horiguchi [this message]

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=54BBB664.6050402@gmail.com \
    --to=nao.horiguchi@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=n-horiguchi@ah.jp.nec.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).