linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Balbir Singh <bsingharora@gmail.com>
Cc: kbuild-all@01.org, vdavydov@virtuozzo.com, mpe@ellerman.id.au,
	oss@buserror.net, linuxppc-dev@lists.ozlabs.org,
	linux-mm@kvack.org
Subject: Re: [PATCH v2 2/3] powerpc/mm/book(e)(3s)/32: Add page table accounting
Date: Mon, 1 May 2017 18:02:45 +0800	[thread overview]
Message-ID: <201705011752.eKcye0Ye%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170501063438.25237-3-bsingharora@gmail.com>

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

Hi Balbir,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.11 next-20170428]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Balbir-Singh/powerpc-mm-book-e-3s-64-Add-page-table-accounting/20170501-143900
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-virtex5_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/mm.h:9:0,
                    from include/linux/cpuset.h:16,
                    from kernel//sched/core.c:13:
   arch/powerpc/include/asm/nohash/32/pgalloc.h: In function 'pgd_alloc':
>> include/linux/gfp.h:240:20: warning: passing argument 1 of 'pgtable_gfp_flags' makes pointer from integer without a cast [-Wint-conversion]
    #define GFP_KERNEL (__GFP_RECLAIM | __GFP_IO | __GFP_FS)
                       ^
>> arch/powerpc/include/asm/nohash/32/pgalloc.h:35:22: note: in expansion of macro 'GFP_KERNEL'
       pgtable_gfp_flags(GFP_KERNEL));
                         ^~~~~~~~~~
   In file included from arch/powerpc/include/asm/tlb.h:19:0,
                    from kernel//sched/core.c:30:
   arch/powerpc/include/asm/pgalloc.h:7:21: note: expected 'struct mm_struct *' but argument is of type 'unsigned int'
    static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp)
                        ^~~~~~~~~~~~~~~~~
   In file included from arch/powerpc/include/asm/nohash/pgalloc.h:21:0,
                    from arch/powerpc/include/asm/pgalloc.h:23,
                    from arch/powerpc/include/asm/tlb.h:19,
                    from kernel//sched/core.c:30:
>> arch/powerpc/include/asm/nohash/32/pgalloc.h:35:4: error: too few arguments to function 'pgtable_gfp_flags'
       pgtable_gfp_flags(GFP_KERNEL));
       ^~~~~~~~~~~~~~~~~
   In file included from arch/powerpc/include/asm/tlb.h:19:0,
                    from kernel//sched/core.c:30:
   arch/powerpc/include/asm/pgalloc.h:7:21: note: declared here
    static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp)
                        ^~~~~~~~~~~~~~~~~

vim +/pgtable_gfp_flags +35 arch/powerpc/include/asm/nohash/32/pgalloc.h

    29				pgtable_cache[(shift) - 1];	\
    30			})
    31	
    32	static inline pgd_t *pgd_alloc(struct mm_struct *mm)
    33	{
    34		return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE),
  > 35				pgtable_gfp_flags(GFP_KERNEL));
    36	}
    37	
    38	static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 13899 bytes --]

  reply	other threads:[~2017-05-01 10:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01  6:34 [PATCH v2 0/3] Implement page table accounting for powerpc Balbir Singh
2017-05-01  6:34 ` [PATCH v2 1/3] powerpc/mm/book(e)(3s)/64: Add page table accounting Balbir Singh
2017-05-01  6:34 ` [PATCH v2 2/3] powerpc/mm/book(e)(3s)/32: " Balbir Singh
2017-05-01 10:02   ` kbuild test robot [this message]
2017-05-01 10:31   ` kbuild test robot
2017-05-01 11:09     ` Balbir Singh
2017-05-01  6:34 ` [PATCH v2 3/3] powerpc/mm/hugetlb: Add support for page accounting Balbir Singh

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=201705011752.eKcye0Ye%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bsingharora@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=oss@buserror.net \
    --cc=vdavydov@virtuozzo.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