From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 28 Jan 2011 08:34:31 +0100 (CET) Received: from cantor.suse.de ([195.135.220.2]:60659 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1491909Ab1A1He1 (ORCPT ); Fri, 28 Jan 2011 08:34:27 +0100 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C7CEE94746; Fri, 28 Jan 2011 08:34:26 +0100 (CET) Date: Fri, 28 Jan 2011 08:34:22 +0100 Message-ID: From: Takashi Iwai To: Ralf Baechle Cc: Andrew Morton , linux-mips@linux-mips.org Subject: Re: mips allmodconfig In-Reply-To: <20110125143113.55aea198.akpm@linux-foundation.org> References: <20110125143113.55aea198.akpm@linux-foundation.org> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 29106 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: tiwai@suse.de Precedence: bulk X-list: linux-mips At Tue, 25 Jan 2011 14:31:13 -0800, Andrew Morton wrote: > > sound/oss/soundcard.c:69: error: `MAX_DMA_CHANNELS' undeclared here (not in a function) > sound/oss/soundcard.c:69: error: storage size of `dma_alloc_map' isn't known > sound/oss/soundcard.c:69: warning: 'dma_alloc_map' defined but not used > > In case you happen to be interested in oss drivers ;) I took a quick look. The only case where no MAX_DMA_CHANNELS is defined is only MIPS with CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN. In arch/mips/include/asm/dma.h: #ifndef CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN #define MAX_DMA_CHANNELS 8 #endif What is the intention of this ifdef? thanks, Takashi (not interested but just bored ;)