All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix Alsa issues including Oopses with OSS emulation
@ 2004-12-22 18:13 Benjamin Herrenschmidt
  2004-12-22 18:35 ` Benjamin Herrenschmidt
  2004-12-22 23:36 ` Martin-Éric Racine
  0 siblings, 2 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2004-12-22 18:13 UTC (permalink / raw)
  To: debian-powerpc@lists.debian.org, linuxppc-dev list

This patch (which will be send upstream separately by the Alsa folks) fixes
an signed vs. unsigned char problem in Alsa which was the cause of the Oops
people were experiencing on ppc with OSS emulation and possibly other issues.

Index: linux-work/sound/core/pcm_misc.c
===================================================================
--- linux-work.orig/sound/core/pcm_misc.c	2004-11-22 01:51:09.000000000 +0100
+++ linux-work/sound/core/pcm_misc.c	2004-12-22 19:11:26.297518336 +0100
@@ -26,10 +26,10 @@
 #define SND_PCM_FORMAT_UNKNOWN (-1)
 
 struct pcm_format_data {
-	char width;	/* bit width */
-	char phys;	/* physical bit width */
-	char le;	/* 0 = big-endian, 1 = little-endian, -1 = others */
-	char signd;	/* 0 = unsigned, 1 = signed, -1 = others */
+	signed char width;	/* bit width */
+	signed char phys;	/* physical bit width */
+	signed char le;		/* 0 = big-endian, 1 = little-endian, -1 = others */
+	signed char signd;	/* 0 = unsigned, 1 = signed, -1 = others */
 	unsigned char silence[8];	/* silence data to fill */
 };
 

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

end of thread, other threads:[~2004-12-26 11:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 18:13 [PATCH] Fix Alsa issues including Oopses with OSS emulation Benjamin Herrenschmidt
2004-12-22 18:35 ` Benjamin Herrenschmidt
2004-12-23  6:25   ` Sven Luther
2004-12-23  6:55     ` Benjamin Herrenschmidt
2004-12-23 11:36       ` Sven Luther
2004-12-26 12:05   ` Sven Luther
2004-12-22 23:36 ` Martin-Éric Racine
2004-12-23  0:15   ` Dean Hamstead
2004-12-23  8:00     ` Benjamin Herrenschmidt
2004-12-23 12:25       ` Dean Hamstead
2004-12-23 14:03         ` Benjamin Herrenschmidt
2004-12-23  6:54   ` Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.