Re: [PATCH v2 2/3] powerpc/mm/book(e)(3s)/32: Add page table accounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux