mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sound: trivial warning fix for emu10k1
@ 2005-04-19 21:45 Jesper Juhl
  2005-04-20  9:03 ` [Alsa-devel] " Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2005-04-19 21:45 UTC (permalink / raw)
  To: perex; +Cc: alsa-devel, rlrevell, linux-kernel

When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little 
warning in 2.6.12-rc2-mm3 : 
  sound/pci/emu10k1/emupcm.c:265: warning: `inline' is not at beginning of declaration
No big deal, but trivial to fix.


Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
---

 sound/pci/emu10k1/emupcm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.12-rc2-mm3-orig/sound/pci/emu10k1/emupcm.c	2005-04-11 21:20:58.000000000 +0200
+++ linux-2.6.12-rc2-mm3/sound/pci/emu10k1/emupcm.c	2005-04-19 23:37:10.000000000 +0200
@@ -262,7 +262,7 @@ static unsigned int emu10k1_select_inter
  *
  * returns: cache invalidate size in samples
  */
-static int inline emu10k1_ccis(int stereo, int w_16)
+static inline int emu10k1_ccis(int stereo, int w_16)
 {
 	if (w_16) {
 		return stereo ? 24 : 26;




--- 
PS. Please CC me on replies.



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

* Re: [Alsa-devel] [PATCH] sound: trivial warning fix for emu10k1
  2005-04-19 21:45 [PATCH] sound: trivial warning fix for emu10k1 Jesper Juhl
@ 2005-04-20  9:03 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-04-20  9:03 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: perex, alsa-devel, rlrevell, linux-kernel

At Tue, 19 Apr 2005 23:45:16 +0200 (CEST),
Jesper Juhl wrote:
> 
> When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little 
> warning in 2.6.12-rc2-mm3 : 
>   sound/pci/emu10k1/emupcm.c:265: warning: `inline' is not at beginning of declaration
> No big deal, but trivial to fix.
> 
> 
> Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>

Thanks, applied to ALSA tree now.


Takashi

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

end of thread, other threads:[~2005-04-20  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 21:45 [PATCH] sound: trivial warning fix for emu10k1 Jesper Juhl
2005-04-20  9:03 ` [Alsa-devel] " Takashi Iwai

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

Powered by JetHome