From: Takashi Iwai Subject: Re: sound: constify snd_ac97_bus_ops Date: Sun, 24 Jul 2011 13:59:26 +0200 Message-ID: References: <208430.5747.bm@smtp121.mail.ukl.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id BA72F10380C for ; Sun, 24 Jul 2011 13:59:26 +0200 (CEST) In-Reply-To: <208430.5747.bm@smtp121.mail.ukl.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Lionel Debroux Cc: alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Emese Revfy , Kees Cook List-Id: alsa-devel@alsa-project.org At Sun, 24 Jul 2011 11:40:48 +0200, Lionel Debroux wrote: > > The fields of this struct type don't seem to be used as rvalues, besides > the initialization of struct instances. Let's make const the struct > instances. > > Maybe the Documentation/DocBook/writing-an-alsa-driver.tmpl, and > checkpatch.pl should be updated to reflect this change ? Yes, please either update or give an additional patch for document fixes. I'll apply these series not for 3.1 since this changes API. Will be applied the branches for 3.2. thanks, Takashi