[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091012183854.GB13210@amt.cnet>
Date: Mon, 12 Oct 2009 15:38:54 -0300
From: Marcelo Tosatti <mtosatti@...hat.com>
To: Izik Eidus <ieidus@...hat.com>
Cc: Frederik Deweerdt <frederik.deweerdt@...og.eu>,
linux-kernel@...r.kernel.org
Subject: Re: [patch] kvm: fix pointer cast
On Sat, Oct 10, 2009 at 01:59:53PM +0200, Izik Eidus wrote:
> 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@...og.eu>
>>
>>
> Acked-by: Izik Eidus <ieidus@...hat.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists