From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Baechle Subject: Re: [SOUND] hda_intel: build fix Date: Tue, 13 Mar 2007 12:42:48 +0000 Message-ID: <20070313124248.GA25963@linux-mips.org> References: <20070310190513.GA24435@linux-mips.org> <20070312135351.GA11974@linux-mips.org> <20070312154647.GC11974@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from ftp.linux-mips.org (ftp.linux-mips.org [194.74.144.162]) by alsa0.perex.cz (Postfix) with ESMTP id 87F9C246A8 for ; Tue, 13 Mar 2007 13:44:43 +0100 (CET) Received: from localhost.localdomain ([127.0.0.1]:8670 "EHLO dl5rb.ham-radio-op.net") by ftp.linux-mips.org with ESMTP id S20022271AbXCMMon (ORCPT ); Tue, 13 Mar 2007 12:44:43 +0000 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Takashi Iwai Cc: Andrew Morton , alsa-devel@alsa-project.org, perex@suse.cz, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org > Ah, that's a nasty part of C const. It should be like > const struct snd_ice1712_card_info *c; > but for pointer-of-pointer, something like > struct snd_ice1712_card_info * const *tbl; Well, that works. Andrew, I'm going to post an updated patch in separate email. Ralf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753238AbXCMMoq (ORCPT ); Tue, 13 Mar 2007 08:44:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753245AbXCMMoq (ORCPT ); Tue, 13 Mar 2007 08:44:46 -0400 Received: from ftp.linux-mips.org ([194.74.144.162]:34848 "EHLO ftp.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbXCMMop (ORCPT ); Tue, 13 Mar 2007 08:44:45 -0400 Date: Tue, 13 Mar 2007 12:42:48 +0000 From: Ralf Baechle To: Takashi Iwai Cc: Andrew Morton , perex@suse.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [SOUND] hda_intel: build fix Message-ID: <20070313124248.GA25963@linux-mips.org> References: <20070310190513.GA24435@linux-mips.org> <20070312135351.GA11974@linux-mips.org> <20070312154647.GC11974@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Ah, that's a nasty part of C const. It should be like > const struct snd_ice1712_card_info *c; > but for pointer-of-pointer, something like > struct snd_ice1712_card_info * const *tbl; Well, that works. Andrew, I'm going to post an updated patch in separate email. Ralf