From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933965AbYBWKXX (ORCPT ); Sat, 23 Feb 2008 05:23:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751979AbYBWKXO (ORCPT ); Sat, 23 Feb 2008 05:23:14 -0500 Received: from mx1.suse.de ([195.135.220.2]:52188 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467AbYBWKXN (ORCPT ); Sat, 23 Feb 2008 05:23:13 -0500 Date: Sat, 23 Feb 2008 11:23:11 +0100 Message-ID: From: Takashi Iwai To: Sam Ravnborg Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH 14/16] [ALSA] caiaq - fix section mismatch warning In-Reply-To: <20080222183156.GD6434@uranus.ravnborg.org> References: <20080222183156.GD6434@uranus.ravnborg.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 22 Feb 2008 19:31:56 +0100, Sam Ravnborg wrote: > > Hi Takashi. > > > On Fri, Feb 22, 2008 at 06:46:47PM +0100, Takashi Iwai wrote: > > Fix following warning: > > WARNING: vmlinux.o(.text+0x11ec01a): Section mismatch in reference from the function setup_card() to the function .devinit.text:snd_usb_caiaq_control_init() > > > > setup_card() are only used by init_card(). > > init_card() are only used by snd_probe() > > snd_probe() are used for the .probe parameter in usb_driver.probe > > > > Annotate them all __devinit to fix the warning. > > > > From: Sam Ravnborg > > git will not pick up me as author for this patch unless > you place the From: at the _first_ line in the commmit. Oops, thanks for hints. > Nothing to worry for this simple patch - just so you know in the future. I'll set up git at the next time, so this won't happen, I hope :) Takashi