Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287695
b: refs/heads/master
c: f65bd5e
h: refs/heads/master
i:
  287693: 7b7ecc1
  287691: d88969d
  287687: a459fbb
  287679: 0325e3f
v: v3
  • Loading branch information
Axel Lin authored and David S. Miller committed Feb 14, 2012
1 parent 7017a2c commit 0b8dfb9
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: fc543637525b59af38af2ce09a4dbdd7d5eb27bf
refs/heads/master: f65bd5ec47a4461bc575d5d34902fd18b6ec5542
4 changes: 2 additions & 2 deletions trunk/net/rxrpc/ar-key.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int rxrpc_krb5_decode_principal(struct krb5_principal *princ,
if (toklen <= (n_parts + 1) * 4)
return -EINVAL;

princ->name_parts = kcalloc(sizeof(char *), n_parts, GFP_KERNEL);
princ->name_parts = kcalloc(n_parts, sizeof(char *), GFP_KERNEL);
if (!princ->name_parts)
return -ENOMEM;

Expand Down Expand Up @@ -355,7 +355,7 @@ static int rxrpc_krb5_decode_tagged_array(struct krb5_tagged_data **_td,

_debug("n_elem %d", n_elem);

td = kcalloc(sizeof(struct krb5_tagged_data), n_elem,
td = kcalloc(n_elem, sizeof(struct krb5_tagged_data),
GFP_KERNEL);
if (!td)
return -ENOMEM;
Expand Down

0 comments on commit 0b8dfb9

Please sign in to comment.