Skip to content
Commit 8b30ab91 authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

backports: add hex_dump_to_buffer() with int return value

In the kernel hex_dump_to_buffer() got an int return value, returning
the amount of bytes written into the buffer. This new return value is
needed by seq_hex_dump() which we also backport.

This change was done in the following commit in mainline Linux kernel:
commit 114fc1af


Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date:   Thu Feb 12 15:02:29 2015 -0800

    hexdump: make it return number of bytes placed in buffer

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent 3fff9e33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment