[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170108112223.GA12798@kroah.com>
Date: Sun, 8 Jan 2017 12:22:23 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Sven Schmidt <4sschmid@...ormatik.uni-hamburg.de>
Cc: akpm@...ux-foundation.org, bongkyu.kim@....com,
rsalvaterra@...il.com, sergey.senozhatsky@...il.com,
linux-kernel@...r.kernel.org, herbert@...dor.apana.org.au,
davem@...emloft.net, linux-crypto@...r.kernel.org,
anton@...msg.org, ccross@...roid.com, keescook@...omium.org,
tony.luck@...el.com, phillip@...ashfs.org.uk
Subject: Re: [PATCH v2 1/4] lib: Update LZ4 compressor module based on LZ4
v1.7.2.
On Sat, Jan 07, 2017 at 05:55:42PM +0100, Sven Schmidt wrote:
> +/*!LZ4_compressbound() :
> + Provides the maximum size that LZ4 may output in a "worst case" scenario
> + (input data not compressible)
> +*/
Odd coding style, please use kerneldoc format if you are going to have
comments like this.
> +static inline int LZ4_compressBound(int isize) {
> + return LZ4_COMPRESSBOUND(isize);
And follow the proper kernel coding style rules, putting your patches
through scripts/checkpatch.pl should help you out here.
thanks,
greg k-h
Powered by blists - more mailing lists