From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756225Ab2GQSL3 (ORCPT ); Tue, 17 Jul 2012 14:11:29 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64998 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753055Ab2GQSL1 (ORCPT ); Tue, 17 Jul 2012 14:11:27 -0400 Date: Tue, 17 Jul 2012 11:09:18 -0700 From: Anton Vorontsov To: Greg Kroah-Hartman Cc: Kees Cook , Colin Cross , Tony Luck , Steven Rostedt , Frederic Weisbecker , Ingo Molnar , devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, Arnd Bergmann , patches@linaro.org, Marco Stornelli , Stephen Boyd , linux-kernel@vger.kernel.org, arve@android.com, Jesper Juhl , John Stultz , Shuah Khan , Rebecca Schultz Zavin , WANG Cong , Andrew Morton , kernel-team@android.com, Thomas Meyer Subject: Re: [PATCH 7/8] pstore/ram: Make tracing log versioned Message-ID: <20120717180918.GA18671@lizard> References: <20120710001004.GA22744@lizard> <1341879046-5197-7-git-send-email-anton.vorontsov@linaro.org> <20120717165601.GA16001@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120717165601.GA16001@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2012 at 09:56:01AM -0700, Greg Kroah-Hartman wrote: [...] > That's nice, but it breaks the build on my system as linux_banner > somehow isn't enabled as part of the build? I really don't see how you managed to disable it. :-) init/version.c is built unconditionally, and it has 'const char linux_banner[]' unconditionally. Then ram.c includes kernel.h, which unconditionally (well, under #ifdef __KERNEL__) includes printk.h, which has 'extern const char linux_banner[];' prototype... I'm still looking further, but can you please send your config file? And may be gcc version? p.s. While investigating this, I found that quite a lot of includes are missing in pstore headers, and I was able to trigger at least one issue. The patch will follow. -- Anton Vorontsov Email: cbouatmailru@gmail.com