Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Jul 14, 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:476: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:476: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:477: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:477: ERROR: space required after that ',' (ctx:VxV)

---
 drivers/net/slip/slhc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/slip/slhc.c +2 -2
index 0011915..befdf4a 100644
@@ -473,8 +473,8 @@ struct slcompress *
      * to use on future compressed packets in the protocol field).
      */
 uncompressed:
-    memcpy(&cs->cs_ip,ip,20);
-    memcpy(&cs->cs_tcp,th,20);
+    memcpy(&cs->cs_ip, ip, 20);
+    memcpy(&cs->cs_tcp, th, 20);
     if (ip->ihl > 5)
       memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4);
     if (th->doff > 5)