1
0
Files
linux/tools/perf/util
Eric Dumazet 621d26567f perf: Fix a build error with some GCC versions
Fix this:

 util/cgroup.c: In function ‘open_cgroup’:
 util/cgroup.c:16:16: error: ‘saved_ptr’ may be used uninitialized in this function
 util/cgroup.c:16:16: note: ‘saved_ptr’ was declared here

Apparently newer GCC (4.6) can figure out that this variable is properly
initialized - but some versions of GCC (such as 4.5.2) need help.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-04-08 17:40:21 +02:00
..
2011-01-22 19:56:28 -02:00
2011-02-22 12:02:07 -03:00
2011-02-16 13:30:48 +01:00
2011-03-10 11:16:28 -03:00
2010-10-21 16:11:44 -02:00
2010-08-21 11:22:47 -03:00
2011-03-31 11:26:23 -03:00