summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2011-11-21 15:43:34 +0800
committerSimon Horman <horms@verge.net.au>2011-11-21 17:49:38 +0900
commit542dc8b04f0da04a1d440e0feb8c4be7da999114 (patch)
treed867215606a10740db5d00dfa3283839d900771c /kexec/kexec.c
parentcf0ad87f28d48d3414c796734563d8681b751a20 (diff)
kexec: fix several issues in get_crash_notes()
a) We don't need 'crash_notes' array at all, save some bytes on stack. b) We forgot to fclose 'fp' before return. Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions