From: Daode Huang <huangdaode@huawei.com>
To: <luobin9@huawei.com>, <davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH net-next 2/4] net: hinic: add a blank line after declarations
Date: Fri, 19 Mar 2021 14:36:23 +0800 [thread overview]
Message-ID: <1616135785-122085-3-git-send-email-huangdaode@huawei.com> (raw)
In-Reply-To: <1616135785-122085-1-git-send-email-huangdaode@huawei.com>
There should be a blank line after declarations, so just add it.
Signed-off-by: Daode Huang <huangdaode@huawei.com>
---
drivers/net/ethernet/huawei/hinic/hinic_tx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c b/drivers/net/ethernet/huawei/hinic/hinic_tx.c
index 8da7d46..710c4ff 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_tx.c
+++ b/drivers/net/ethernet/huawei/hinic/hinic_tx.c
@@ -377,6 +377,7 @@ static int offload_csum(struct hinic_sq_task *task, u32 *queue_info,
} else if (ip.v4->version == 6) {
unsigned char *exthdr;
__be16 frag_off;
+
l3_type = IPV6_PKT;
tunnel_type = TUNNEL_UDP_CSUM;
exthdr = ip.hdr + sizeof(*ip.v6);
--
2.8.1
next prev parent reply other threads:[~2021-03-19 6:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-19 6:36 [PATCH net-next 0/4] net: hinic; make some cleanup for hinic Daode Huang
2021-03-19 6:36 ` [PATCH net-next 1/4] net: hinic: Remove unnecessary 'out of memory' message Daode Huang
2021-03-19 6:36 ` Daode Huang [this message]
2021-03-19 6:36 ` [PATCH net-next 3/4] net: hinic: remove the repeat word "the" in comment Daode Huang
2021-03-19 6:36 ` [PATCH net-next 4/4] net: hinic: convert strlcpy to strscpy Daode Huang
2021-03-19 19:10 ` [PATCH net-next 0/4] net: hinic; make some cleanup for hinic patchwork-bot+netdevbpf
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=1616135785-122085-3-git-send-email-huangdaode@huawei.com \
--to=huangdaode@huawei.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luobin9@huawei.com \
--cc=netdev@vger.kernel.org \
/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
all inboxes | Powered by JetHome®