[PATCH v3] kwboot: do a filetype check before sending the image
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 25 23:00:42 PST 2016
On Fri, Jan 22, 2016 at 08:33:40PM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <uwe at kleine-koenig.org>
> ---
> Changes since (implicit) v1, sent with
> Message-Id: 1453276010-4669-1-git-send-email-uwe at kleine-koenig.org:
>
> - whitespace fix
> - error out if a problem is detected
> - add a commit log
>
> Changes since v2, sent with
> Message-Id: 1453277701-10367-1-git-send-email-uwe at kleine-koenig.org:
>
> - add -f to not quit on failed test
> - add const to img parameter
> - check image length first
> - write error messages to stderr instead of stdout
> - simplify logic
>
> Thanks to Sascha, Sebastian and Trend for the feedback.
>
> scripts/kwboot.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 70 insertions(+), 2 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list