diff options
| author | Takashi Iwai <tiwai@suse.de> | 2004-12-21 18:46:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-21 18:46:54 -0800 |
| commit | cf5bd50cc6d3fc4c78d1ba6a800af699d084ae5d (patch) | |
| tree | 125e3387f91cc0c724fdbc9834fd111863d37ad3 /fs/jbd/commit.c | |
| parent | 87f3243f8739f229fb38847b4fb84ca0d312efbe (diff) | |
[PATCH] alsa: fix oops with ALSA OSS emulation on PPC
Fix suggested by Benjamin Herrenschmidt <benh@kernel.crashing.org>
On architectures like PPC, char is handled as "unsigned char", thus the
pcm_format_data table entries with -1 give a positive 255. This results
in Oops with OSS-emulation on such architectures.
The patch simply adds the right signed/unsigned prefix to fix this problem.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
