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 16:02:13 +0800 [thread overview]
Message-ID: <4b922e9203381b3411696feae9ee02da@208suo.com> (raw)
In-Reply-To: <tencent_C824D439C8CE96AD83779E068967114FF105@qq.com>
Fix Error reported by checkpatch.pl
./drivers/net/slip/slhc.c:381: ERROR: space required after that ','
(ctx:VxV)
Signed-off-by: maqimei <2433033762@qq.com>
---
drivers/net/slip/slhc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index befdf4a..cf0245a 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -378,7 +378,7 @@ struct slcompress *
goto uncompressed;
}
if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
- cp = encode(cp,deltaS);
+ cp = encode(cp, deltaS);
changes |= NEW_W;
}
if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){
next parent reply other threads:[~2023-07-14 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tencent_C824D439C8CE96AD83779E068967114FF105@qq.com>
2023-07-14 8:02 ` hanyu001 [this message]
2023-07-15 3:36 ` [PATCH] drivers/net/slip: Add space after that ',' Jakub Kicinski
[not found] <tencent_222320492FD62B52855A0449D87275D0CD0A@qq.com>
2023-07-14 7:51 ` hanyu001
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=4b922e9203381b3411696feae9ee02da@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;
as well as URLs for NNTP newsgroup(s).