x86, build: Make sure mkpiggy fails on read error
authorDaniel J Blueman <daniel.blueman@gmail.com>
Wed, 23 Feb 2011 01:33:59 +0000 (09:33 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 2 Mar 2011 00:32:03 +0000 (16:32 -0800)
commit6670e9cdaf554290e26121aa72f0118f2fac52e5
treee7f4cd9b0a9724241c68a6fbf7a25e695429a6e8
parentdd9c1549edef02290edced639f67b54a25abbe0e
x86, build: Make sure mkpiggy fails on read error

Ensure build doesn't silently continue despite read failure,
addressing a warning due to the unchecked call.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
LKML-Reference: <AANLkTimxxTMU3=4ry-_zbY6v1xiDi+hW9y1RegTr8vLK@mail.gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/mkpiggy.c