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
| ||
|
Message-Id: <1209323919.14173.73.camel@brick> Date: Sun, 27 Apr 2008 12:18:39 -0700 From: Harvey Harrison <harvey.harrison@...il.com> To: Avi Kivity <avi@...ranet.com> Cc: LKML <linux-kernel@...r.kernel.org> Subject: kvm: how big is type? arch/x86/kvm/x86.c:3484:25: warning: cast truncates bits from constant value (100 becomes 0) arch/x86/kvm/x86.c:3510:24: warning: cast truncates bits from constant value (100 becomes 0) The problem: cseg_desc.type &= ~(1 << 8); //clear the B flag nseg_desc.type |= (1 << 8); type is a 4-bit bitfield on x86....please look into this. Harvey -- 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/