diff options
author | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
commit | 61ea8541b7ceb1782636bcaf5fab175846569bf9 (patch) | |
tree | 0139f1bbbacf4db0d705422c96e881006fe5eae3 /kexec/arch_init.c | |
parent | ebadff4f150b3309938ec1779ecbd8ede871b7ac (diff) |
ia64: move_loaded_segments: handle no matching region
Apparently this never happens, but the current code seems excessively loose.
1) die if it does happen
2) initialise offset to make gcc happy.
# ia64-unknown-linux-gnu-gcc --version
ia64-unknown-linux-gnu-gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# make
kexec/arch/ia64/kexec-elf-ia64.c: In function `move_loaded_segments':
kexec/arch/ia64/kexec-elf-ia64.c:102: warning: 'offset' might be used
uninitialized in this function
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch_init.c')
0 files changed, 0 insertions, 0 deletions