lkml.org 
[lkml]   [2016]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/8] zram: switch to crypto compress API
On Tue, May 31, 2016 at 09:20:11PM +0900, Sergey Senozhatsky wrote:

<snip>

trivial:

One thing I got missed in review.

> -int zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm,
> - const unsigned char *src, size_t *dst_len);
> +int zcomp_compress(struct zcomp_strm *zstrm,
> + const unsigned char *src, unsigned int *dst_len);

unsigned int for dst_len

>
> -int zcomp_decompress(struct zcomp *comp, const unsigned char *src,
> +int zcomp_decompress(struct zcomp_strm *zstrm,
> + const unsigned char *src,
> size_t src_len, unsigned char *dst);
>

size_t src_len?



\
 
 \ /
  Last update: 2016-06-01 02:01    [W:1.324 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site