aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/firmware_loader/fallback_table.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-20 23:28:37 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 10:23:17 +0100
commit8092e79204e7884f4bee3584ecfe6cf4a124d129 (patch)
treea9916d2924add24668967afc4305ad39eb195b17 /drivers/base/firmware_loader/fallback_table.c
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 <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 'drivers/base/firmware_loader/fallback_table.c')
0 files changed, 0 insertions, 0 deletions