diff options
| author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-12-21 10:28:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 12:23:17 +0300 |
| commit | 8092e79204e7884f4bee3584ecfe6cf4a124d129 (patch) | |
| tree | a9916d2924add24668967afc4305ad39eb195b17 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 570d0200123fb4f809aa2f6226e93a458d664d70 (diff) | |
| download | linux-8092e79204e7884f4bee3584ecfe6cf4a124d129.tar.xz | |
ihex: Share code between ihex_validate_fw() and ihex_next_binrec()
Convert both ihex_validate_fw() and ihex_next_binrec() to use a helper
function to calculate next record offest. This way we only have one
place implementing next record offset calculation logic. No functional
change intended.
Cc: Chris Healy <cphealy@gmail.com>
Cc: Kyle McMartin <kyle@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
