From: kbuild test robot <lkp@intel.com>
To: Dmitry Safonov <dsafonov@virtuozzo.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
0x7f454c46@gmail.com, Dmitry Safonov <dsafonov@virtuozzo.com>,
linux-arm-kernel@lists.infradead.org,
Russell King <linux@armlinux.org.uk>,
Will Deacon <will.deacon@arm.com>,
Andy Lutomirski <luto@amacapital.net>,
Thomas Gleixner <tglx@linutronix.de>,
Cyrill Gorcunov <gorcunov@openvz.org>,
Pavel Emelyanov <xemul@virtuozzo.com>,
Christopher Covington <cov@codeaurora.org>
Subject: Re: [PATCH] ARM32: Support mremap() for sigpage/vDSO
Date: Fri, 14 Apr 2017 21:20:03 +0800 [thread overview]
Message-ID: <201704142137.ph5puyyo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170414101033.4780-1-dsafonov@virtuozzo.com>
[-- Attachment #1: Type: text/plain, Size: 1909 bytes --]
Hi Dmitry,
[auto build test WARNING on linus/master]
[also build test WARNING on v4.11-rc6 next-20170413]
[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/Dmitry-Safonov/ARM32-Support-mremap-for-sigpage-vDSO/20170414-190018
config: arm-sunxi_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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=arm
All warnings (new ones prefixed by >>):
arch/arm/kernel/vdso.c: In function 'vdso_mremap':
>> arch/arm/kernel/vdso.c:69:28: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
current->mm->context.vdso = (void __user *)new_vma->vm_start;
^
vim +69 arch/arm/kernel/vdso.c
53 .name = "[vvar]",
54 .pages = &vdso_data_page,
55 };
56
57 static int vdso_mremap(const struct vm_special_mapping *sm,
58 struct vm_area_struct *new_vma)
59 {
60 unsigned long new_size = new_vma->vm_end - new_vma->vm_start;
61 unsigned long vdso_size;
62
63 /* without VVAR page */
64 vdso_size = (vdso_total_pages - 1) << PAGE_SHIFT;
65
66 if (vdso_size != new_size)
67 return -EINVAL;
68
> 69 current->mm->context.vdso = (void __user *)new_vma->vm_start;
70
71 return 0;
72 }
73
74 static struct vm_special_mapping vdso_text_mapping __ro_after_init = {
75 .name = "[vdso]",
76 .mremap = vdso_mremap,
77 };
---
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: 20767 bytes --]
prev parent reply other threads:[~2017-04-14 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 10:10 Dmitry Safonov
2017-04-14 13:20 ` kbuild test robot [this message]
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=201704142137.ph5puyyo%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=0x7f454c46@gmail.com \
--cc=cov@codeaurora.org \
--cc=dsafonov@virtuozzo.com \
--cc=gorcunov@openvz.org \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=luto@amacapital.net \
--cc=tglx@linutronix.de \
--cc=will.deacon@arm.com \
--cc=xemul@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
all inboxes | Powered by JetHome®