lkml.org 
[lkml]   [2018]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] IHEX bug fix and some improvements
Date
Everyone:

This series is a big-fix to a problem I encountered while using code
in <linux/ihex.h> bundled with a number of small improvmements. The
bug fix is in commit:

[PATCH 2/5] ihex: Check if zero-length record is at the end of the

Small improvmentes are in the rest and all of them are purely
optional. Hopefully each commit is self-explanatory.

Feedback is welcome!

Thanks,
Andrey Smirnov

NOTE: This series is expected to be applied on top of [fimrware-patch]

[firmware-patch] lkml.kernel.org/r/20181017182718.32740-1-andrew.smirnov@gmail.com

Andrey Smirnov (5):
ihex: Share code between ihex_validate_fw() and ihex_next_binrec()
ihex: Check if zero-length record is at the end of the blob
ihex: Simplify next record offset calculation
tools/firmware/ihex2fw: Simplify next record offset calculation
tools/firmware/ihex2fw: Replace explicit alignment with ALIGN

include/linux/ihex.h | 29 +++++++++++++++++++----------
tools/firmware/ihex2fw.c | 17 ++++++++++++++---
2 files changed, 33 insertions(+), 13 deletions(-)

--
2.19.1

\
 
 \ /
  Last update: 2018-12-21 08:29    [W:0.056 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site