aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAl Viro <viro@www.linux.org.uk>2005-04-24 15:28:34 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-24 15:28:34 -0400
commitfa732f556896836e88cd662ee7a664c4db6d080d (patch)
treed1f6cf66754d23d21a6eb398a331cfc3e7590cba /sound
parent01424961e621737c638e489b6a0b5e6602b02612 (diff)
[PATCH] msnd_pinnacle GFP fix
Dumb typo - __get_free_page() takes gfp mask (in this case - GFP_KERNEL), not the page size... Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/msnd_pinnacle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c
index 6ba03f89fc43..0c2db657badd 100644
--- a/sound/oss/msnd_pinnacle.c
+++ b/sound/oss/msnd_pinnacle.c
@@ -892,7 +892,7 @@ static __inline__ int pack_DAPF_to_DAPQ(register int start)
892static int dsp_read(char __user *buf, size_t len) 892static int dsp_read(char __user *buf, size_t len)
893{ 893{
894 int count = len; 894 int count = len;
895 char *page = (char *)__get_free_page(PAGE_SIZE); 895 char *page = (char *)__get_free_page(GFP_KERNEL);
896 896
897 if (!page) 897 if (!page)
898 return -ENOMEM; 898 return -ENOMEM;