aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2018-12-20 23:28:37 -0800
committerGreg Kroah-Hartman <[email protected]>2019-01-22 10:23:17 +0100
commit8092e79204e7884f4bee3584ecfe6cf4a124d129 (patch)
treea9916d2924add24668967afc4305ad39eb195b17 /tools/perf/scripts/python/mem-phys-addr.py
parent570d0200123fb4f809aa2f6226e93a458d664d70 (diff)
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 <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: linux-kernel <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions