Commit e88425b2 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix section conflict and typo in ALSA isa

parent 709c572c
......@@ -659,7 +659,7 @@ snd_emu8000_load_chorus_fx(emu8000_t *emu, int mode, const void *buf, long len)
{
soundfont_chorus_fx_t rec;
if (mode < SNDRV_EMU8000_CHORUS_PREDEFINED || mode >= SNDRV_EMU8000_CHORUS_NUMBERS) {
snd_printk(KERN_WARNING "illegal chorus mode %d for uploading\n", mode);
snd_printk(KERN_WARNING "invalid chorus mode %d for uploading\n", mode);
return -EINVAL;
}
if (len < (long)sizeof(rec) || copy_from_user(&rec, buf, sizeof(rec)))
......@@ -787,7 +787,7 @@ snd_emu8000_load_reverb_fx(emu8000_t *emu, int mode, const void *buf, long len)
soundfont_reverb_fx_t rec;
if (mode < SNDRV_EMU8000_REVERB_PREDEFINED || mode >= SNDRV_EMU8000_REVERB_NUMBERS) {
snd_printk(KERN_WARNING "illegal reverb mode %d for uploading\n", mode);
snd_printk(KERN_WARNING "invalid reverb mode %d for uploading\n", mode);
return -EINVAL;
}
if (len < (long)sizeof(rec) || copy_from_user(&rec, buf, sizeof(rec)))
......
......@@ -809,7 +809,7 @@ static snd_kcontrol_new_t midi_mixer_ctl = {
*/
static unsigned __devinit get_irq_config(int irq)
{
static const int valid_irq[] __devinitdata = { 9, 5, 7, 10 };
const int valid_irq[] __devinitdata = { 9, 5, 7, 10 };
unsigned cfg;
for (cfg = 0; cfg < ARRAY_SIZE(valid_irq); ++cfg) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment