All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Denis V. Lunev" <den@openvz.org>
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: [patch, -git] isdn: hysdn_procconf.c build fix
Date: Wed, 30 Apr 2008 12:14:52 -0700	[thread overview]
Message-ID: <20080430121452.f7735eea.akpm@linux-foundation.org> (raw)
In-Reply-To: <1209582185.4310.1.camel@iris.sw.ru>

On Wed, 30 Apr 2008 23:03:05 +0400
"Denis V. Lunev" <den@openvz.org> wrote:

> On Wed, 2008-04-30 at 11:47 -0700, Andrew Morton wrote:
> > On Wed, 30 Apr 2008 20:30:51 +0200
> > Ingo Molnar <mingo@elte.hu> wrote:
> > 
> > > 
> > > * Andrew Morton <akpm@linux-foundation.org> wrote:
> > > 
> > > > On Wed, 30 Apr 2008 19:57:40 +0200
> > > > Ingo Molnar <mingo@elte.hu> wrote:
> > > > 
> > > > > Ob'grumpy: this file was not even build-tested by any of the parties 
> > > > > who turned it into upstream commit ac41cfd19b ("isdn: use non-racy 
> > > > > method for proc entries creation").
> > > > 
> > > > That's because this stupidity:
> > > > 
> > > > config HYSDN
> > > >         tristate "Hypercope HYSDN cards (Champ, Ergo, Metro) support (module only)"
> > > >         depends on m && PROC_FS && PCI && BROKEN_ON_SMP
> > > > 
> > > > breaks allmodconfig coverage testing.
> > > 
> > > yeah. There's a trick though that we use in the x86 tree (and which i'm 
> > > using in a script when queuing up new patches). The following command 
> > > will punch through any Kconfig black holes:
> > > 
> > >   make drivers/isdn/hysdn/hysdn_procconf.o
> > 
> > That's daft, sorry.  We shouldn't expect everyone to do stuff like that.
> > 
> > > (it wont always work as it needs a halfways reasonable .config, but it 
> > > works well enough to be part of my workflow.)
> > > 
> > > note that there's tons more stuff and dependencies that plain 
> > > allmodconfig does not catch - in this merge window alone i'm at around 
> > > 20 fixes so far.
> > 
> > allmodconfig is for one thing and one thing only: compilation coverage
> > testing.  If there is anything which is not compiled after `make
> > allmodconfig' then that's a bug.
> > 
> > But how to fix it?  Perhaps we need to add a CONFIG_ALLFOOCONFIG which can
> > be tested at the appropriate places.
> 
> I think that the same should be applied to allyesconfig

That's what ALLFOOCONFIG refers to ;)

There _might_ be a need to discriminate between allyesconfig and
allmodconfig, but usually not, I expect.

Perhaps we should implement CONFIG_ALLYESCONFIG, CONFIG_ALLMODCONFIG and
CONFIG_ALLFOOCONFIG, where

	ALLFOOCONFIG = ALLYESCONFIG || ALLMODCONFIG
	
(where FOO is renamed to something sensible, but what?)

  reply	other threads:[~2008-04-30 19:15 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08 11:18 [PATCH 0/29] proc entries creation race Denis V. Lunev
2008-04-08 11:19 ` [PATCH 1/29] proc: introduce proc_create_data to setup de->data Denis V. Lunev
2008-04-08 11:19 ` [PATCH 2/29] nfsd: use proc_create to setup de->proc_fops Denis V. Lunev
2008-04-08 11:19 ` [PATCH 3/29] nfs: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 4/29] afs: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 5/29] ext4: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 6/29] reiserfs: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 7/29] jbd2: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 8/29] proc: use non-racy method for /proc/page_owner creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 9/29] sysvipc: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 10/29] mm: use non-racy method for /proc/swaps creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 11/29] sound: use non-racy method for /proc/driver/snd-page-alloc creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 12/29] zorro: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 13/29] samples: use non-racy method for /proc/marker-example creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 14/29] scsi: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 15/29] usb: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 16/29] s390: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 17/29] arm: use non-racy method for /proc/davinci_clocks creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 18/29] avr32: proc: use non-racy method for /proc/tlb creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 19/29] cris: use non-racy method for /proc/system_profile creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 20/29] ia64: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 21/29] parisc: use non-racy method for /proc/pcxl_dma creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 22/29] powerpc: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 23/29] acpi: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 24/29] net: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 25/29] isdn: " Denis V. Lunev
2008-04-30 17:57   ` [patch, -git] isdn: hysdn_procconf.c build fix Ingo Molnar
2008-04-30 18:10     ` Andrew Morton
2008-04-30 18:30       ` Ingo Molnar
2008-04-30 18:47         ` Andrew Morton
2008-04-30 19:03           ` Denis V. Lunev
2008-04-30 19:14             ` Andrew Morton [this message]
2008-04-30 19:24               ` Harvey Harrison
2008-04-30 21:21                 ` Alexey Dobriyan
2008-04-08 11:19 ` [PATCH 26/29] kernel: use non-racy method for proc entries creation Denis V. Lunev
2008-04-08 11:19 ` [PATCH 27/29] parisc: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 28/29] drivers: " Denis V. Lunev
2008-04-08 11:19 ` [PATCH 29/29] " Denis V. Lunev
2008-04-17 17:13   ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080430121452.f7735eea.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=den@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.