Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366286
b: refs/heads/master
c: 3b77d66
h: refs/heads/master
v: v3
  • Loading branch information
Zhang Yanfei authored and Jiri Kosina committed Mar 18, 2013
1 parent 42ce80a commit 9b25287
Show file tree
Hide file tree
Showing 3 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: 6e51c9ff6a5f37c4baf3dfab579e8aed33b8f427
refs/heads/master: 3b77d6617a68dbcafc9cc95d80522c3b0c00ad80
2 changes: 1 addition & 1 deletion trunk/include/net/sctp/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ for (pos = chunk->subh.fwdtsn_hdr->skip;\
#define WORD_ROUND(s) (((s)+3)&~3)

/* Make a new instance of type. */
#define t_new(type, flags) (type *)kzalloc(sizeof(type), flags)
#define t_new(type, flags) kzalloc(sizeof(type), flags)

/* Compare two timevals. */
#define tv_lt(s, t) \
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ SCTP_STATIC __init int sctp_init(void)

/* Allocate and initialize the endpoint hash table. */
sctp_ep_hashsize = 64;
sctp_ep_hashtable = (struct sctp_hashbucket *)
sctp_ep_hashtable =
kmalloc(64 * sizeof(struct sctp_hashbucket), GFP_KERNEL);
if (!sctp_ep_hashtable) {
pr_err("Failed endpoint_hash alloc\n");
Expand Down

0 comments on commit 9b25287

Please sign in to comment.