* [Bugfix] [2.6.35-rc3-tip] perf build failure on latest tip.
@ 2010-06-29 17:32 Srikar Dronamraju
2010-06-29 21:03 ` [tip:perf/core] perf: Fix hist_entry__tui_annotate() build failure tip-bot for Srikar Dronamraju
0 siblings, 1 reply; 2+ messages in thread
From: Srikar Dronamraju @ 2010-06-29 17:32 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo; +Cc: Ingo Molnar, LKML
When compiling perf on latest tip/master
I see the following error
cc1: warnings being treated as errors
util/newt.c: In function âhist_entry__tui_annotateâ:
util/newt.c:764: warning: âretâ is used uninitialized in this function
make: *** [util/newt.o] Error 1
I think the problem was introduced by commit
13f499f076c67675e6e3022973729b5d906a84e9
Below is a patch that fixes the problem.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
---
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index 89c52fc..06f248f 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -753,7 +753,7 @@ int hist_entry__tui_annotate(struct hist_entry *self)
browser.width += 18; /* Percentage */
ui_browser__show(&browser, self->ms.sym->name);
- ui_browser__run(&browser, &es);
+ ret = ui_browser__run(&browser, &es);
newtFormDestroy(browser.form);
newtPopWindow();
list_for_each_entry_safe(pos, n, &head, node) {
^ permalink raw reply related [flat|nested] 2+ messages in thread* [tip:perf/core] perf: Fix hist_entry__tui_annotate() build failure
2010-06-29 17:32 [Bugfix] [2.6.35-rc3-tip] perf build failure on latest tip Srikar Dronamraju
@ 2010-06-29 21:03 ` tip-bot for Srikar Dronamraju
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Srikar Dronamraju @ 2010-06-29 21:03 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, acme, hpa, mingo, srikar, tglx, mingo
Commit-ID: 0879b100f3c187257729f36cba33d96ec2875766
Gitweb: http://git.kernel.org/tip/0879b100f3c187257729f36cba33d96ec2875766
Author: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
AuthorDate: Tue, 29 Jun 2010 23:02:26 +0530
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 29 Jun 2010 22:59:05 +0200
perf: Fix hist_entry__tui_annotate() build failure
When compiling perf on latest tip/master I see the following
error:
cc1: warnings being treated as errors
util/newt.c: In function 'hist_entry__tui_annotate':
util/newt.c:764: warning: 'ret' is used uninitialized in
this function make: *** [util/newt.o] Error 1
I think the problem was introduced by commit
13f499f076c67675e6e3022973729b5d906a84e9
Below is a patch that fixes the problem.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20100629173226.GC23231@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
tools/perf/util/newt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index 89c52fc..06f248f 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -753,7 +753,7 @@ int hist_entry__tui_annotate(struct hist_entry *self)
browser.width += 18; /* Percentage */
ui_browser__show(&browser, self->ms.sym->name);
- ui_browser__run(&browser, &es);
+ ret = ui_browser__run(&browser, &es);
newtFormDestroy(browser.form);
newtPopWindow();
list_for_each_entry_safe(pos, n, &head, node) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-29 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 17:32 [Bugfix] [2.6.35-rc3-tip] perf build failure on latest tip Srikar Dronamraju
2010-06-29 21:03 ` [tip:perf/core] perf: Fix hist_entry__tui_annotate() build failure tip-bot for Srikar Dronamraju
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.