diff options
| author | Eric Dumazet <[email protected]> | 2011-04-08 10:11:06 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-04-08 15:40:21 +0000 |
| commit | 621d26567fd0c222f419e3b5ddf39e529e0fdcb3 (patch) | |
| tree | 804c3ff50b901d96e5c5b41c5c754f0bd2674aa3 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog (diff) | |
| download | kernel-621d26567fd0c222f419e3b5ddf39e529e0fdcb3.tar.gz kernel-621d26567fd0c222f419e3b5ddf39e529e0fdcb3.zip | |
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 <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
