From: Avi Kivity <avi@redhat.com>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Subject: Re: [PATCH] kvm: add missing void __user * cast to access_ok() call
Date: Tue, 24 May 2011 17:46:04 +0300 [thread overview]
Message-ID: <4DDBC4AC.8030906@redhat.com> (raw)
In-Reply-To: <20110524055127.GA2460@osiris.boeblingen.de.ibm.com>
On 05/24/2011 08:51 AM, Heiko Carstens wrote:
> From: Heiko Carstens<heiko.carstens@de.ibm.com>
>
> fa3d315a "KVM: Validate userspace_addr of memslot when registered" introduced
> this new warning onn s390:
>
> kvm_main.c: In function '__kvm_set_memory_region':
> kvm_main.c:654:7: warning: passing argument 1 of '__access_ok' makes pointer from integer without a cast
> arch/s390/include/asm/uaccess.h:53:19: note: expected 'const void *' but argument is of type '__u64'
>
> Add the missing cast to get rid of it again...
>
Thanks, applied, and queued for 2.6.40/2.8.0/3.0/2011.1, as the case may be.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2011-05-24 14:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 5:51 [PATCH] kvm: add missing void __user * cast to access_ok() call Heiko Carstens
2011-05-24 6:33 ` Takuya Yoshikawa
2011-05-24 14:46 ` Avi Kivity [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=4DDBC4AC.8030906@redhat.com \
--to=avi@redhat.com \
--cc=heiko.carstens@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=yoshikawa.takuya@oss.ntt.co.jp \
/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