git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPV4]: struct ip_options annotations
[pandora-kernel.git]
/
net
/
tipc
/
ref.c
diff --git
a/net/tipc/ref.c
b/net/tipc/ref.c
index
596d3c8
..
e6d6ae2
100644
(file)
--- a/
net/tipc/ref.c
+++ b/
net/tipc/ref.c
@@
-79,7
+79,7
@@
int tipc_ref_table_init(u32 requested_size, u32 start)
while (sz < requested_size) {
sz <<= 1;
}
- table =
(struct reference *)vmalloc(sz * sizeof(struct referenc
e));
+ table =
vmalloc(sz * sizeof(*tabl
e));
if (table == NULL)
return -ENOMEM;