lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601151013.fe1TJ3v5%fengguang.wu@intel.com>
Date:	Fri, 15 Jan 2016 10:58:59 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Chen Feng <puck.chen@...ilicon.com>
Cc:	kbuild-all@...org, gregkh@...uxfoundation.org, arve@...roid.com,
	riandrews@...roid.com, paul.gortmaker@...driver.com,
	labbott@...hat.com, gioh.kim@....com, tranmanphong@...il.com,
	mitchelh@...eaurora.org, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org, puck.chen@...ilicon.com,
	yudongbin@...ilicon.com, saberlily.xia@...ilicon.com,
	suzhuangluan@...ilicon.com, kong.kongxinwei@...ilicon.com,
	xuyiping@...ilicon.com, z.liuxinliang@...ilicon.com,
	weidong2@...ilicon.com, w.f@...wei.com, puck.chen@...mail.com,
	shimingxing@...ilicon.com, oliver.fu@...ilicon.com,
	albert.lubing@...ilicon.com, chenxiang9@...wei.com,
	liuzixing@...wei.com, haojian.zhuang@...aro.org,
	qijiwen@...ilicon.com, peter.panshilin@...ilicon.com,
	dan.zhao@...ilicon.com, linuxarm@...wei.com, dev@...ts.96boards.org
Subject: Re: [PATCH] staging: ion: make the pte default none PTE_RDONLY

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-default-none-PTE_RDONLY/20160115-104450
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

Download attachment ".config.gz" of type "application/octet-stream" (28435 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ