From: Izik Eidus <ieidus@redhat.com>
To: Frederik Deweerdt <frederik.deweerdt@xprog.eu>
Cc: mtosatti@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [patch] kvm: fix pointer cast
Date: Sat, 10 Oct 2009 13:59:53 +0200 [thread overview]
Message-ID: <4AD07739.6090509@redhat.com> (raw)
In-Reply-To: <20091009114256.GA29528@gambetta>
On 10/09/2009 01:42 PM, Frederik Deweerdt wrote:
> Hi,
>
> On a 32 bits compile, commit 3da0dd433dc399a8c0124d0614d82a09b6a49bce
> introduced the following warnings:
>
> arch/x86/kvm/mmu.c: In function ‘kvm_set_pte_rmapp’:
> arch/x86/kvm/mmu.c:770: warning: cast to pointer from integer of different size
> arch/x86/kvm/mmu.c: In function ‘kvm_set_spte_hva’:
> arch/x86/kvm/mmu.c:849: warning: cast from pointer to integer of different size
>
> The following patch uses 'unsigned long' instead of u64 to match the
> pointer size on both arches.
>
> Regards,
> Frederik
>
>
> Signed-off-by: Frederik Deweerdt<frederik.deweerdt@xprog.eu>
>
>
Acked-by: Izik Eidus <ieidus@redhat.com>
next prev parent reply other threads:[~2009-10-10 11:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 11:42 [patch] kvm: fix pointer cast Frederik Deweerdt
2009-10-10 11:59 ` Izik Eidus [this message]
2009-10-12 18:38 ` Marcelo Tosatti
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=4AD07739.6090509@redhat.com \
--to=ieidus@redhat.com \
--cc=frederik.deweerdt@xprog.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.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