login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
18
Re: [PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Takashi Iwai <tiwai@...>
To: Sam Ravnborg <sam@...>
Cc: LKML <linux-kernel@...>, Andrew Morton <akpm@...>, Jaroslav Kysela <perex@...>
Subject:
Re: [PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
Date: Monday, February 18, 2008 - 2:43 am
At Sun, 17 Feb 2008 13:23:04 +0100, Sam Ravnborg wrote:
quoted text
> > Fix following warnings: > WARNING: sound/pci/rme9652/snd-hdsp.o(.text+0x34bc): Section mismatch in reference from the function hdsp_check_for_firmware() to the function .devinit.text:hdsp_request_fw_loader() > WARNING: sound/pci/rme9652/snd-hdsp.o(.text+0x4ac6): Section mismatch in reference from the function snd_hdsp_proc_read() to the function .devinit.text:hdsp_request_fw_loader() > > Calling hdsp_request_fw_loader() were triggered from /proc > so this is not restricted to init or hotplug. > So removing the __devexit annotation of this function > and one of the functions fix the warning.
Thanks. The exactly same fix has been already on ALSA tree since weeks ago, but was never pushed... Takashi
quoted text
> > Signed-off-by: Sam Ravnborg <sam@ravnborg.org> > Cc: Takashi Iwai <tiwai@suse.de> > Cc: Jaroslav Kysela <perex@perex.cz> > --- > sound/pci/rme9652/hdsp.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c > index c2bd438..6f07a25 100644 > --- a/sound/pci/rme9652/hdsp.c > +++ b/sound/pci/rme9652/hdsp.c > @@ -745,7 +745,7 @@ static int hdsp_get_iobox_version (struct hdsp *hdsp) > > > #ifdef HDSP_FW_LOADER > -static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp); > +static int hdsp_request_fw_loader(struct hdsp *hdsp); > #endif > > static int hdsp_check_for_firmware (struct hdsp *hdsp, int load_on_demand) > @@ -4688,7 +4688,7 @@ static struct snd_pcm_ops snd_hdsp_capture_ops = { > .copy = snd_hdsp_capture_copy, > }; > > -static int __devinit snd_hdsp_create_hwdep(struct snd_card *card, > +static int snd_hdsp_create_hwdep(struct snd_card *card, > struct hdsp *hdsp) > { > struct snd_hwdep *hw; > @@ -4857,7 +4857,7 @@ static int snd_hdsp_create_alsa_devices(struct snd_card *card, struct hdsp *hdsp > > #ifdef HDSP_FW_LOADER > /* load firmware via hotplug fw loader */ > -static int __devinit hdsp_request_fw_loader(struct hdsp *hdsp) > +static int hdsp_request_fw_loader(struct hdsp *hdsp) > { > const char *fwfile; > const struct firmware *fw; > -- > 1.5.4.rc3.14.g44397 >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/27] fix section mismatches
, Sam Ravnborg
, (Sun Feb 17, 8:12 am)
[PATCH 25/27] pci: fix section mismatch warning in pci_scan_...
, Sam Ravnborg
, (Sun Feb 17, 8:23 am)
[PATCH 23/27] x86: annotate pci/common.s:pci_scan_bus_with_s...
, Sam Ravnborg
, (Sun Feb 17, 8:23 am)
[PATCH 05/27] cpu: fix section mismatch warnings in hotcpu_r...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 20/27] [ALSA] caiaq - fix section mismatch warning
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
Re: [PATCH 20/27] [ALSA] caiaq - fix section mismatch warning
, Takashi Iwai
, (Mon Feb 18, 6:35 am)
[PATCH 10/27] x86: fix section mismatch in setup_64.c:srat_d...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 17/27] acer-wmi: fix section mismatch warnings
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
Re: [PATCH 17/27] acer-wmi: fix section mismatch warnings
, Carlos Corbacho
, (Sun Feb 17, 9:03 am)
Re: [PATCH 17/27] acer-wmi: fix section mismatch warnings
, Sam Ravnborg
, (Sun Feb 17, 11:05 am)
[PATCH 26/27] acpi: fix section mismatch in acpi_pci_root_add
, Sam Ravnborg
, (Sun Feb 17, 8:23 am)
[PATCH 16/27] scsi: fix section mismatch in aic94xx
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 22/27] x86: fix section mismatch in head_64.S:initial...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 01/27] serial: silence section mismatch warnings in 8...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 15/27] cpufreq: fix section mismatch warnings
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
, Sam Ravnborg
, (Sun Feb 17, 8:23 am)
Re: [PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
, Takashi Iwai
, (Mon Feb 18, 2:43 am)
Re: [PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
, Sam Ravnborg
, (Mon Feb 18, 3:45 am)
Re: [PATCH 27/27] [ALSA] hdsp - fix section mismatch warnings
, Takashi Iwai
, (Mon Feb 18, 6:36 am)
[PATCH 21/27] x86: fix section mismatch in srat_64.c:reserve...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 24/27] pcmcia: annotate cb_alloc with __ref
, Sam Ravnborg
, (Sun Feb 17, 8:23 am)
[PATCH 18/27] video: fix section mismatch warnings in uvesafb
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 14/27] hwmon: fix section mismatch in coretemp
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
Re: [PATCH 14/27] hwmon: fix section mismatch in coretemp
, Mark M. Hoffman
, (Sun Feb 17, 1:07 pm)
Re: [PATCH 14/27] hwmon: fix section mismatch in coretemp
, Sam Ravnborg
, (Sun Feb 17, 1:20 pm)
[PATCH 09/27] x86: fix section mismatch warning in setup_64....
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
Re: [PATCH 09/27] x86: fix section mismatch warning in setup...
, Thomas Gleixner
, (Sun Feb 17, 9:44 am)
Re: [PATCH 09/27] x86: fix section mismatch warning in setup...
, Sam Ravnborg
, (Sun Feb 17, 11:05 am)
[PATCH 12/27] x86: fix section mismatch warning in topology....
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 19/27] tpm: fix section mismatch warning
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 13/27] drivers/base/cpu: fix section mismatch in cpu....
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 07/27] cpu: fix section mismatch warnings in *cpu_down
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 06/27] cpu: fix section mismatch warning in unregiste...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 11/27] acpi: fix section mismatch in processor_core.c...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 03/27] pcmcia: silence section mismatch warnings from...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 08/27] cpu: fix section mismatch warning in reference...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 04/27] pcmcia: silence section mismatch warnings from...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
[PATCH 02/27] rtc: silence section mismatch warning in rtc-t...
, Sam Ravnborg
, (Sun Feb 17, 8:22 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Lindgren
[PATCH 26/90] ARM: OMAP: abstract debug card setup (smc, leds)
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Jesper Juhl
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
849 guests
online.
Online users
zeekec
boobyjoe
Syndicate