projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.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
483aa15
..
1316456
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;