diff options
Diffstat (limited to 'sound/core/oss')
-rw-r--r-- | sound/core/oss/mixer_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index f4c67042e3ac..3391f2a9b4d1 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c | |||
@@ -1023,7 +1023,7 @@ static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mix | |||
1023 | } | 1023 | } |
1024 | up_read(&mixer->card->controls_rwsem); | 1024 | up_read(&mixer->card->controls_rwsem); |
1025 | if (slot.present != 0) { | 1025 | if (slot.present != 0) { |
1026 | pslot = (struct slot *)kmalloc(sizeof(slot), GFP_KERNEL); | 1026 | pslot = kmalloc(sizeof(slot), GFP_KERNEL); |
1027 | if (! pslot) | 1027 | if (! pslot) |
1028 | return -ENOMEM; | 1028 | return -ENOMEM; |
1029 | *pslot = slot; | 1029 | *pslot = slot; |