From: kbuild test robot <lkp@intel.com>
To: Chen Feng <puck.chen@hisilicon.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org, arve@android.com,
riandrews@android.com, paul.gortmaker@windriver.com,
labbott@redhat.com, gioh.kim@lge.com, tranmanphong@gmail.com,
mitchelh@codeaurora.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, puck.chen@hisilicon.com,
yudongbin@hisilicon.com, saberlily.xia@hisilicon.com,
suzhuangluan@hisilicon.com, kong.kongxinwei@hisilicon.com,
xuyiping@hisilicon.com, z.liuxinliang@hisilicon.com,
weidong2@hisilicon.com, w.f@huawei.com, puck.chen@foxmail.com,
shimingxing@hisilicon.com, oliver.fu@hisilicon.com,
albert.lubing@hisilicon.com, chenxiang9@huawei.com,
liuzixing@huawei.com, haojian.zhuang@linaro.org,
qijiwen@hisilicon.com, peter.panshilin@hisilicon.com,
dan.zhao@hisilicon.com, linuxarm@huawei.com,
dev@lists.96boards.org
Subject: Re: [PATCH] staging: ion: make the pte default none PTE_RDONLY
Date: Fri, 15 Jan 2016 10:58:59 +0800 [thread overview]
Message-ID: <201601151013.fe1TJ3v5%fengguang.wu@intel.com> (raw)
In-Reply-To: <1452825753-36364-1-git-send-email-puck.chen@hisilicon.com>
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28435 bytes --]
next prev parent reply other threads:[~2016-01-15 2:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 2:42 Chen Feng
2016-01-15 2:58 ` kbuild test robot [this message]
2016-01-15 3:10 ` kbuild test robot
2016-01-15 23:03 ` Laura Abbott
2016-01-15 23:23 ` Russell King - ARM Linux
2016-01-18 3:44 ` chenfeng
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=201601151013.fe1TJ3v5%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=albert.lubing@hisilicon.com \
--cc=arve@android.com \
--cc=chenxiang9@huawei.com \
--cc=dan.zhao@hisilicon.com \
--cc=dev@lists.96boards.org \
--cc=devel@driverdev.osuosl.org \
--cc=gioh.kim@lge.com \
--cc=gregkh@linuxfoundation.org \
--cc=haojian.zhuang@linaro.org \
--cc=kbuild-all@01.org \
--cc=kong.kongxinwei@hisilicon.com \
--cc=labbott@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=liuzixing@huawei.com \
--cc=mitchelh@codeaurora.org \
--cc=oliver.fu@hisilicon.com \
--cc=paul.gortmaker@windriver.com \
--cc=peter.panshilin@hisilicon.com \
--cc=puck.chen@foxmail.com \
--cc=puck.chen@hisilicon.com \
--cc=qijiwen@hisilicon.com \
--cc=riandrews@android.com \
--cc=saberlily.xia@hisilicon.com \
--cc=shimingxing@hisilicon.com \
--cc=suzhuangluan@hisilicon.com \
--cc=tranmanphong@gmail.com \
--cc=w.f@huawei.com \
--cc=weidong2@hisilicon.com \
--cc=xuyiping@hisilicon.com \
--cc=yudongbin@hisilicon.com \
--cc=z.liuxinliang@hisilicon.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
all inboxes | Powered by JetHome®