From: James Hogan Subject: [PATCH 15/16] MIPS: KVM: Consistent use of uint*_t in MMIO handling Date: Wed, 16 Dec 2015 23:49:40 +0000 Message-ID: <1450309781-28030-16-git-send-email-james.hogan@imgtec.com> References: <1450309781-28030-1-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Gleb Natapov , , , James Hogan To: Ralf Baechle , Paolo Bonzini Return-path: Received: from mailapp01.imgtec.com ([195.59.15.196]:15073 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965318AbbLPXuP (ORCPT ); Wed, 16 Dec 2015 18:50:15 -0500 In-Reply-To: <1450309781-28030-1-git-send-email-james.hogan@imgtec.com> Sender: kvm-owner@vger.kernel.org List-ID: Make consistent use of uint8_t in MMIO handling code. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Ralf Baechle Cc: Gleb Natapov Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org --- arch/mips/kvm/emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c index 845fd0d91040..912b39bb7f86 100644 --- a/arch/mips/kvm/emulate.c +++ b/arch/mips/kvm/emulate.c @@ -2401,7 +2401,7 @@ enum emulation_result kvm_mips_complete_mmio_load(struct kvm_vcpu *vcpu, if (vcpu->mmio_needed == 2) *gpr = *(int8_t *) run->mmio.data; else - *gpr = *(u8 *) run->mmio.data; + *gpr = *(uint8_t *)run->mmio.data; break; } -- 2.4.10