Skip to contentSkip to conversation

Fixed integer constant is too large for ‘long’ type warning

PATCH In review Sasikantha babu 2 participants 2 messages Mar 20, 2012 – Mar 21, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixed integer constant is too large for ‘long’ type warning

---
 arch/x86/kvm/pmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/pmu.c +1 -1
index 7aad544..9395230 100644
@@ -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;
 		}
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 5 lines · Sasikantha babu
---
 arch/x86/kvm/pmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Missing signoff.

Signature · 1 line
error compiling committee.c: too many arguments to function