[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-b880deeaffd9df0cec9a4496447d0d7fd78086f2@git.kernel.org>
Date: Tue, 9 Oct 2012 10:38:22 -0700
From: tip-bot for David Ahern <dsahern@...il.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, linux-kernel@...r.kernel.org, hpa@...or.com,
mingo@...nel.org, peterz@...radead.org, fweisbec@...il.com,
haodong@...ux.vnet.ibm.com, xiaoguangrong@...ux.vnet.ibm.com,
dsahern@...il.com, tglx@...utronix.de
Subject: [tip:perf/core] perf kvm: Remove typecast in init_kvm_event_record
Commit-ID: b880deeaffd9df0cec9a4496447d0d7fd78086f2
Gitweb: http://git.kernel.org/tip/b880deeaffd9df0cec9a4496447d0d7fd78086f2
Author: David Ahern <dsahern@...il.com>
AuthorDate: Mon, 8 Oct 2012 11:17:30 -0600
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Mon, 8 Oct 2012 17:14:57 -0300
perf kvm: Remove typecast in init_kvm_event_record
Not needed after changing i to unsigned int.
Signed-off-by: David Ahern <dsahern@...il.com>
Cc: Dong Hao <haodong@...ux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Ingo Molnar <mingo@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Xiao Guangrong <xiaoguangrong@...ux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1349716656-48165-7-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/builtin-kvm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c
index b98095e..8416754 100644
--- a/tools/perf/builtin-kvm.c
+++ b/tools/perf/builtin-kvm.c
@@ -313,9 +313,9 @@ struct vcpu_event_record {
static void init_kvm_event_record(struct perf_kvm *kvm)
{
- int i;
+ unsigned int i;
- for (i = 0; i < (int)EVENTS_CACHE_SIZE; i++)
+ for (i = 0; i < EVENTS_CACHE_SIZE; i++)
INIT_LIST_HEAD(&kvm->kvm_events_cache[i]);
}
--
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/
Powered by blists - more mailing lists