* [PATCH] Fixed integer constant is too large for 'long' type warning
@ 2012-03-21 13:19 Sasikantha babu
2012-03-21 13:36 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Sasikantha babu @ 2012-03-21 13:19 UTC (permalink / raw)
To: Avi Kivity, Marcelo Tosatti; +Cc: kvm, Sasikantha babu
Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
---
arch/x86/kvm/pmu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c
index 7aad544..9395230 100644
--- a/arch/x86/kvm/pmu.c
+++ b/arch/x86/kvm/pmu.c
@@ -365,7 +365,7 @@ int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, u32 index, u64 data)
case MSR_CORE_PERF_FIXED_CTR_CTRL:
if (pmu->fixed_ctr_ctrl == data)
return 0;
- if (!(data & 0xfffffffffffff444)) {
+ if (!(data & 0xfffffffffffff444ull)) {
reprogram_fixed_counters(pmu, data);
return 0;
}
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fixed integer constant is too large for 'long' type warning
2012-03-21 13:19 [PATCH] Fixed integer constant is too large for 'long' type warning Sasikantha babu
@ 2012-03-21 13:36 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2012-03-21 13:36 UTC (permalink / raw)
To: Sasikantha babu; +Cc: Marcelo Tosatti, kvm
On 03/21/2012 03:19 PM, Sasikantha babu wrote:
> Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-21 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 13:19 [PATCH] Fixed integer constant is too large for 'long' type warning Sasikantha babu
2012-03-21 13:36 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox