diff options
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index aead72e141b4..d0df25d84acd 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -798,7 +798,7 @@ done: | |||
798 | 798 | ||
799 | static void fetch_bit_operand(struct decode_cache *c) | 799 | static void fetch_bit_operand(struct decode_cache *c) |
800 | { | 800 | { |
801 | long sv, mask; | 801 | long sv = 0, mask; |
802 | 802 | ||
803 | if (c->dst.type == OP_MEM && c->src.type == OP_REG) { | 803 | if (c->dst.type == OP_MEM && c->src.type == OP_REG) { |
804 | mask = ~(c->dst.bytes * 8 - 1); | 804 | mask = ~(c->dst.bytes * 8 - 1); |