Re: [PATCH 14/16] [ALSA] caiaq - fix section mismatch warning

From: Takashi Iwai
Date: Sat Feb 23 2008 - 05:23:24 EST


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 <sam@xxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/