aboutsummaryrefslogtreecommitdiff
path: root/sound/oss/sequencer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-11-22 08:11:10 +0100
committerTakashi Iwai <tiwai@suse.de>2010-11-22 08:11:10 +0100
commitd2b88e4c103f37584dc81ef8a41ca584c1ce847b (patch)
tree247ac000bec902fcc580757d236caa053755ea27 /sound/oss/sequencer.c
parent2146dcfd15ad55cfdd18b45e1e6601d6a86f0cbe (diff)
parenta1d71a2c91239ecc1c1f9c97a081d71ebd30bfe5 (diff)
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'sound/oss/sequencer.c')
-rw-r--r--sound/oss/sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/sequencer.c b/sound/oss/sequencer.c
index e85789e5381..5ea1098ac42 100644
--- a/sound/oss/sequencer.c
+++ b/sound/oss/sequencer.c
@@ -1646,13 +1646,13 @@ void sequencer_init(void)
{
if (sequencer_ok)
return;
- queue = (unsigned char *)vmalloc(SEQ_MAX_QUEUE * EV_SZ);
+ queue = vmalloc(SEQ_MAX_QUEUE * EV_SZ);
if (queue == NULL)
{
printk(KERN_ERR "sequencer: Can't allocate memory for sequencer output queue\n");
return;
}
- iqueue = (unsigned char *)vmalloc(SEQ_MAX_QUEUE * IEV_SZ);
+ iqueue = vmalloc(SEQ_MAX_QUEUE * IEV_SZ);
if (iqueue == NULL)
{
printk(KERN_ERR "sequencer: Can't allocate memory for sequencer input queue\n");