Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Fix missing declarations
@ 2005-12-04 13:19 Andreas Schwab
  2005-12-05 21:24 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2005-12-04 13:19 UTC (permalink / raw)
  To: alsa-devel

sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer':
sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc'
sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast
sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer':
sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree'

Signed-off-by: Andreas Schwab <schwab@suse.de>

Index: linux/sound/pci/emu10k1/emufx.c
===================================================================
--- linux/sound/pci/emu10k1/emufx.c	2005-12-04 13:29:12.247722913 +0100
+++ linux/sound/pci/emu10k1/emufx.c	2005-12-04 13:35:03.971435580 +0100
@@ -29,6 +29,7 @@
 #include <linux/pci.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/vmalloc.h>
 #include <linux/init.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
Index: linux/sound/pci/emu10k1/p16v.c
===================================================================
--- linux/sound/pci/emu10k1/p16v.c	2005-12-04 13:29:12.271722893 +0100
+++ linux/sound/pci/emu10k1/p16v.c	2005-12-04 13:34:52.671444672 +0100
@@ -93,6 +93,7 @@
 #include <linux/interrupt.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
+#include <linux/vmalloc.h>
 #include <linux/moduleparam.h>
 #include <sound/core.h>
 #include <sound/initval.h>

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix missing declarations
  2005-12-04 13:19 Fix missing declarations Andreas Schwab
@ 2005-12-05 21:24 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-12-05 21:24 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: alsa-devel

At Sun, 04 Dec 2005 14:19:43 +0100,
Andreas Schwab wrote:
> 
> sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer':
> sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc'
> sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast
> sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer':
> sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree'
> 
> Signed-off-by: Andreas Schwab <schwab@suse.de>

Thanks, applied to ALSA CVS.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-05 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-04 13:19 Fix missing declarations Andreas Schwab
2005-12-05 21:24 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox