Hi Stephan,
On 09/21/2015 10:52 PM, Stephan Mueller wrote:
>> /**
>> >+ * sg_len - return total size of bytes in the scatterlist
>> >+ * @sg: The scatterlist
>> >+ *
>> >+ * Description:
>> >+ * Allows to know how the total size of bytes in sg, taking into account
>> >+ * chaining as
Add sg_len function which returns the total number of bytes in sg.
Signed-off-by: Tadeusz Struk
---
include/linux/scatterlist.h |1 +
lib/scatterlist.c | 18 ++
2 files changed, 19 insertions(+)
diff --git a/include/linux/scatterlist.h
Am Montag, 21. September 2015, 16:44:14 schrieb Tadeusz Struk:
Hi Tadeusz,
>Add sg_len function which returns the total number of bytes in sg.
>
>Signed-off-by: Tadeusz Struk
>---
> include/linux/scatterlist.h |1 +
> lib/scatterlist.c | 18