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

um_kmalloc() remnants

Signed-off-by: default avatarAl Viro <>
Acked-by: default avatarJeff Dike <>
Signed-off-by: default avatarLinus Torvalds <>
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;
Supports Markdown
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