projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03393fd
)
qeth: remove cast for kzalloc return value
author
Zhang Yanfei
<zhangyanfei@cn.fujitsu.com>
Mon, 22 Apr 2013 01:12:27 +0000
(
01:12
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 22 Apr 2013 19:39:26 +0000
(15:39 -0400)
remove cast for kzalloc return value.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_core_main.c
b/drivers/s390/net/qeth_core_main.c
index 0d73a999983d90ff632c0dcdcf6d54bedbd5a289..3a89ab73f66888e4ae448349485c7e39c04be271 100644
(file)
--- a/
drivers/s390/net/qeth_core_main.c
+++ b/
drivers/s390/net/qeth_core_main.c
@@
-316,7
+316,7
@@
static inline int qeth_alloc_cq(struct qeth_card *card)
card->qdio.no_in_queues = 2;
- card->qdio.out_bufstates =
(struct qdio_outbuf_state *)
+ card->qdio.out_bufstates =
kzalloc(card->qdio.no_out_queues *
QDIO_MAX_BUFFERS_PER_Q *
sizeof(struct qdio_outbuf_state), GFP_KERNEL);