From: Wolfgang Denk Date: Wed, 13 Oct 2010 21:17:30 +0200 Subject: [U-Boot] [PATCH V2] LZO: Add a LZO compression feature In-Reply-To: <4CA99DDC.5050600@samsung.com> References: <4CA99DDC.5050600@samsung.com> Message-ID: <20101013191730.3997A1365CC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Donggeun Kim, In message <4CA99DDC.5050600@samsung.com> you wrote: > Changes from V1 to V2: > - Add a configuration option for the LZO compression > - Add a comment line specifying the origin of the source code These comments must go into the com,ment section, i. e. below the "---" line. > In some case, LZO compression function is needed in U-Boot. > > This patch supports LZO compression feature which is originated from Linux kernel. Please give exact reference (file name, commit id). See http://www.denx.de/wiki/U-Boot/Patches for details. > --- /dev/null > +++ b/lib/lzo/lzo1x_compress.c > @@ -0,0 +1,221 @@ > +/* > + * LZO1X Compressor from MiniLZO > + * > + * Copyright (C) 1996-2005 Markus F.X.J. Oberhumer > + * > + * The full LZO package can be found at: > + * http://www.oberhumer.com/opensource/lzo/ > + * > + * Changed for kernel use by: > + * Nitin Gupta > + * Richard Purdie > + * > + * Note : This code is taken from linux kernel. > + */ I see no user interface (i. e. there is no way to use this function from the command line), and I see no other users (callers) of this code. As such, it is just dead code, which I will not add. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de On the subject of C program indentation: "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." - Blair P. Houghton