Thread (1 message) 1 message, 1 author, 2023-07-14
DORMANTno replies

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

From: <hidden>
Date: 2023-07-14 07:33:50
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: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 <redacted>
---
  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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help