Thread (2 messages) flat view 2 messages, 2 authors, 2023-07-15
STALE1116d

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

From: <hidden>
Date: 2023-07-14 08:05:09
Also in: lkml
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Possibly related (same subject, not in this thread)

Fix Error reported by checkpatch.pl

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

Signed-off-by: maqimei <redacted>
---
  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){
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help