lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 10 Oct 2009 13:59:53 +0200
From:	Izik Eidus <ieidus@...hat.com>
To:	Frederik Deweerdt <frederik.deweerdt@...og.eu>
CC:	mtosatti@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [patch] kvm: fix pointer cast

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>
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ