Skip to contentSkip to conversation

drivers/net/slip: Add space after that ','

PATCH In review [email protected] 2 participants 2 messages Jul 14, 2023 – Jul 15, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drivers/net/slip: Add space after that ','

Fix Error reported by checkpatch.pl

./drivers/net/slip/slhc.c:381: ERROR: space required after that ',' (ctx:VxV)

---
 drivers/net/slip/slhc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/slip/slhc.c +1 -1
index befdf4a..cf0245a 100644
@@ -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){
maintainer
#2 lore raw
Quoted 4 lines · On Fri, 14 Jul 2023 16:02:13 +0800 [email protected] wrote:

Fix Error reported by checkpatch.pl

./drivers/net/slip/slhc.c:381: ERROR: space required after that ',' (ctx:VxV)

Don't send checkpatch fixes to networking, thanks.