Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1410716

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

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/8] zram: switch to crypto compress API
Date 2016-06-01 03:20 +0200
Message-ID <rF2Zc-1G2-9@gated-at.bofh.it> (permalink)
References <rEQY1-2DM-3@gated-at.bofh.it> <rEQY2-2DM-5@gated-at.bofh.it> <rF1A5-H3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/8] zram: switch to crypto compress API Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-05-31 14:30 +0200
  Re: [PATCH v2 2/8] zram: switch to crypto compress API Minchan Kim <minchan@kernel.org> - 2016-06-01 01:50 +0200
    Re: [PATCH v2 2/8] zram: switch to crypto compress API Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-01 03:20 +0200
  Re: [PATCH v2 2/8] zram: switch to crypto compress API Minchan Kim <minchan@kernel.org> - 2016-06-01 01:50 +0200

csiph-web