Hi Chen,
[auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.4 next-20160114] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Chen-Feng/staging-ion-make-the-pte-... config: x86_64-randconfig-x013-01140842 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/staging/android/ion/ion.c: In function 'ion_mmap':
drivers/staging/android/ion/ion.c:1030:34: error: incompatible type for argument 1 of 'pte_mkdirty'
vma->vm_page_prot = pte_mkdirty(vma->vm_page_prot); ^ In file included from include/linux/mm.h:55:0, from include/linux/memblock.h:18, from drivers/staging/android/ion/ion.c:26: arch/x86/include/asm/pgtable.h:218:21: note: expected 'pte_t {aka struct <anonymous>}' but argument is of type 'pgprot_t {aka struct pgprot}' static inline pte_t pte_mkdirty(pte_t pte) ^
vim +/pte_mkdirty +1030 drivers/staging/android/ion/ion.c
1024 } 1025 1026 if (!(buffer->flags & ION_FLAG_CACHED)) 1027 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); 1028 1029 /*Default writeable*/
1030 vma->vm_page_prot = pte_mkdirty(vma->vm_page_prot);
1031 1032 mutex_lock(&buffer->lock); 1033 /* now map it to userspace */
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation