diff options
author | Kevin Winchester <kjwinchester@gmail.com> | 2010-08-10 02:20:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 05:45:06 +0200 |
commit | 22c5c03b42c082ab57b5d24824769ada0d90f8dc (patch) | |
tree | f3bb670ed467b05cba425e21625213de00dd9f0d /fs/btrfs/extent-tree.c | |
parent | kernel/range: remove unused definition of ARRAY_SIZE() (diff) | |
download | linux-22c5c03b42c082ab57b5d24824769ada0d90f8dc.tar.xz linux-22c5c03b42c082ab57b5d24824769ada0d90f8dc.zip |
init/main.c: fix warning: 'calltime.tv64' may be used uninitialized
Using:
gcc (GCC) 4.5.0 20100610 (prerelease)
The following warning appears:
init/main.c: In function `do_one_initcall':
init/main.c:730:10: warning: `calltime.tv64' may be used uninitialized in this function
This warning is actually correct, as the global initcall_debug could
arguably be changed by the initcall.
Correct this warning by extracting a new function, do_one_initcall_debug,
that performs the initcall for the debug case.
Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions