Re: [PATCH v2 2/8] zram: switch to crypto compress API

From: Sergey Senozhatsky
Date: Tue May 31 2016 - 21:17:15 EST


On (06/01/16 08:44), Minchan Kim 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?

thanks for spotting it!

-ss