Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339498
b: refs/heads/master
c: 89c2e00
h: refs/heads/master
v: v3
  • Loading branch information
Schichan Nicolas authored and Russell King committed Dec 11, 2012
1 parent 7be425e commit f946dbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 026b7c6bf0bf044aa03e2affbda73b6c6a302538
refs/heads/master: 89c2e00978ada02a5b84b361faee954cbc7a0386
4 changes: 2 additions & 2 deletions trunk/arch/arm/net/bpf_jit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ void bpf_jit_compile(struct sk_filter *fp)
ctx.skf = fp;
ctx.ret0_fp_idx = -1;

ctx.offsets = kzalloc(GFP_KERNEL, 4 * (ctx.skf->len + 1));
ctx.offsets = kzalloc(4 * (ctx.skf->len + 1), GFP_KERNEL);
if (ctx.offsets == NULL)
return;

Expand All @@ -864,7 +864,7 @@ void bpf_jit_compile(struct sk_filter *fp)

ctx.idx += ctx.imm_count;
if (ctx.imm_count) {
ctx.imms = kzalloc(GFP_KERNEL, 4 * ctx.imm_count);
ctx.imms = kzalloc(4 * ctx.imm_count, GFP_KERNEL);
if (ctx.imms == NULL)
goto out;
}
Expand Down

0 comments on commit f946dbf

Please sign in to comment.