mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers: net: slip: Add space after that ','
       [not found] <tencent_E3C977F14A713AB42848C636A3C3711E1505@qq.com>
@ 2023-07-14  7:33 ` hanyu001
  0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-14  7:33 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni; +Cc: netdev, linux-kernel

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_E3C977F14A713AB42848C636A3C3711E1505@qq.com>
2023-07-14  7:33 ` [PATCH] drivers: net: slip: Add space after that ',' hanyu001

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®