From: hanyu001@208suo.com
To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] drivers: net: slip: Add space after that ','
Date: Fri, 14 Jul 2023 15:33:38 +0800 [thread overview]
Message-ID: <f6eda9fd824d62f3f2099ce284467dea@208suo.com> (raw)
In-Reply-To: <tencent_E3C977F14A713AB42848C636A3C3711E1505@qq.com>
Fix Error reported by checkpatch.pl
./drivers/net/slip/slhc.c:465: ERROR: space required after that ','
(ctx:VxV)
./drivers/net/slip/slhc.c:465: ERROR: space required after that ','
(ctx:VxV)
./drivers/net/slip/slhc.c:466: ERROR: space required after that ','
(ctx:VxV)
./drivers/net/slip/slhc.c:466: ERROR: space required after that ','
(ctx:VxV)
Signed-off-by: maqimei <2433033762@qq.com>
---
drivers/net/slip/slhc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index 72e64ee..0011915 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -462,8 +462,8 @@ struct slcompress *
*(__sum16 *)cp = csum;
cp += 2;
/* deltaS is now the size of the change section of the compressed
header */
- memcpy(cp,new_seq,deltaS); /* Write list of deltas */
- memcpy(cp+deltaS,icp+hlen,isize-hlen);
+ memcpy(cp, new_seq, deltaS); /* Write list of deltas */
+ memcpy(cp+deltaS, icp+hlen, isize-hlen);
comp->sls_o_compressed++;
ocp[0] |= SL_TYPE_COMPRESSED_TCP;
return isize - hlen + deltaS + (cp - ocp);
parent reply other threads:[~2023-07-14 7:33 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_E3C977F14A713AB42848C636A3C3711E1505@qq.com>]
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=f6eda9fd824d62f3f2099ce284467dea@208suo.com \
--to=hanyu001@208suo.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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
all inboxes | Powered by JetHome®