projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0142496
)
[PATCH] msnd_pinnacle GFP fix
author
Al Viro
<viro@www.linux.org.uk>
Sun, 24 Apr 2005 19:28:34 +0000
(12:28 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 19:28:34 +0000
(12:28 -0700)
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>
sound/oss/msnd_pinnacle.c
patch
|
blob
|
history
diff --git
a/sound/oss/msnd_pinnacle.c
b/sound/oss/msnd_pinnacle.c
index 6ba03f89fc4364a50f94bae294eb3aada785bcd5..0c2db657badd135a66a83b3b5ce142ac84d01435 100644
(file)
--- 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)
static int dsp_read(char __user *buf, size_t len)
{
int count = len;
- char *page = (char *)__get_free_page(
PAGE_SIZE
);
+ char *page = (char *)__get_free_page(
GFP_KERNEL
);
if (!page)
return -ENOMEM;