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:
7155c9f
)
um_kmalloc() remnants
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 17 Jul 2007 07:49:35 +0000
(08:49 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 18:01:07 +0000
(11:01 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/pcap_user.c
patch
|
blob
|
history
diff --git
a/arch/um/drivers/pcap_user.c
b/arch/um/drivers/pcap_user.c
index 483aa15222a4b71976c29358f0fb61ee6a90e65a..1316456e2a2854237ec715e0b2625d5da81c21b4 100644
(file)
--- a/
arch/um/drivers/pcap_user.c
+++ b/
arch/um/drivers/pcap_user.c
@@
-53,7
+53,7
@@
static int pcap_open(void *data)
return -EIO;
}
- pri->compiled =
um_kmalloc(sizeof(struct bpf_program)
);
+ pri->compiled =
kmalloc(sizeof(struct bpf_program), UM_GFP_KERNEL
);
if(pri->compiled == NULL){
printk(UM_KERN_ERR "pcap_open : kmalloc failed\n");
return -ENOMEM;