Commit 6d0fd9c9 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

um_kmalloc() remnants

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Acked-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7155c9f5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment