提交 6d0fd9c9 编写于 作者: A Al Viro 提交者: Linus Torvalds

um_kmalloc() remnants

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NJeff Dike <jdike@addtoit.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册