Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932554Ab0AFWpV (ORCPT ); Wed, 6 Jan 2010 17:45:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932410Ab0AFWpS (ORCPT ); Wed, 6 Jan 2010 17:45:18 -0500 Received: from mail.free-electrons.com ([88.191.76.200]:60861 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932370Ab0AFWpR (ORCPT ); Wed, 6 Jan 2010 17:45:17 -0500 Date: Wed, 6 Jan 2010 23:45:10 +0100 From: Albin Tonnerre To: Andrew Morton Cc: Phillip Lougher , linux-embedded@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, phillip.lougher@gmail.com, tim.bird@am.sony.com, Stephen Rothwell Subject: Re: [PATCH V2 6/8] lzma: Make lzma available to non initramfs/initrd code Message-ID: <20100106224510.GC24551@pc-ran3241.res.insa> References: <20100106140409.ba0f63d1.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100106140409.ba0f63d1.akpm@linux-foundation.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2485 Lines: 58 On Wed, 06 Jan 2010 14:04 -0800, Andrew Morton wrote : > On Fri, 11 Dec 2009 01:34:08 +0000 > Phillip Lougher wrote: > > > Add a config option DECOMPRESS_LZMA_NEEDED which allows subsystems to > > specify they need the unlzma code. Normally decompress_unlzma.c is > > compiled with __init and unlzma is not exported to modules. > > > > Move INIT definition into separate header files for bzip2/lzma/inflate > > so it can be defined differently for each decompressor. > > > > This patch (which is in linux-next) breaks > lib-add-support-for-lzo-compressed-kernels.patch, below. The > definition of INIT is no longer available in lib/decompress_unlzo.c, and > > lib/decompress_unlzo.c: In function 'unlzo': > lib/decompress_unlzo.c:106: error: 'error' undeclared (first use in this function) > lib/decompress_unlzo.c:106: error: (Each undeclared identifier is reported only once > lib/decompress_unlzo.c:106: error: for each function it appears in.) > lib/decompress_unlzo.c:111: error: implicit declaration of function 'error' > > > I'm planning on merging > > zlib-optimize-inffast-when-copying-direct-from-output.patch > lib-add-support-for-lzo-compressed-kernels.patch > arm-add-support-for-lzo-compressed-kernels.patch > x86-add-support-for-lzo-compressed-kernels.patch > add-lzo-compression-support-for-initramfs-and-old-style-initrd.patch > > into 2.6.33. I don't immediately remember why I decided that - perhaps > because the patches did arrive in time for .33, but got stalled because > people were screwing around in other trees. > > So if I go ahead with that merge, linux-next will need fixing. And I > didn't get down and work what the appropriate fix is, and I don't want > to break linux-next in serious ways. > > > So what to do? I guess I could go ahead with the mainline merge, and > Stephen drops from linux-next until it has > been fixed up? I'd go for that one, although I'm obviously biaised. IMHO the linux-next fix should be easy enough not to postpone the above five patches until 2.6.34. Regards, -- Albin Tonnerre, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/