From: frank.blaschka@de.ibm.com
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
Zhang Yanfei <zhangyanfei@cn.fujitsu.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: [patch 1/3] qeth: remove cast for kzalloc return value
Date: Mon, 22 Apr 2013 13:12:27 +0200 [thread overview]
Message-ID: <20130422111238.267302846@de.ibm.com> (raw)
In-Reply-To: 20130422111226.882214164@de.ibm.com
[-- Attachment #1: 600-qeth-kzalloc-cast.diff --]
[-- Type: text/plain, Size: 747 bytes --]
From: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
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>
---
drivers/s390/net/qeth_core_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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 q
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);
next prev parent reply other threads:[~2013-04-22 11:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 11:12 [patch 0/3] s390: network patches for net-next frank.blaschka
2013-04-22 11:12 ` frank.blaschka [this message]
2013-04-22 11:12 ` [patch 2/3] qeth: remove unused variable frank.blaschka
2013-04-22 11:12 ` [patch 3/3] qeth: Fix missing pointer update frank.blaschka
2013-04-22 19:39 ` [patch 0/3] s390: network patches for net-next David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130422111238.267302846@de.ibm.com \
--to=frank.blaschka@de.ibm.com \
--cc=davem@davemloft.net \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=zhangyanfei@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).