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 (4)
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:679: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:679: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:680: ERROR: space required after that ',' (ctx:VxV) ./drivers/net/slip/slhc.c:680: ERROR: space required after that ',' (ctx:VxV)

---
 drivers/acpi/acpica/rslist.c | 2 +-
 drivers/net/slip/slhc.c      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/acpi/acpica/rslist.c +0 -0
index 164c96e..d7dcd10 100644
@@ -27,7 +27,7 @@
  *
  

******************************************************************************/
acpi_status
-acpi_rs_convert_aml_to_resources(u8 * aml, +acpi_rs_convert_aml_to_resources(u8 *aml,
u32 length,
u32 offset, u8 resource_index, void **context)
{

drivers/net/slip/slhc.c +2 -2
index ba93bab..72e64ee 100644
@@ -676,8 +676,8 @@ struct slcompress *
     /* Update local state */
     cs = &comp->rstate[comp->recv_current = index];
     comp->flags &=~ SLF_TOSS;
-    memcpy(&cs->cs_ip,icp,20);
-    memcpy(&cs->cs_tcp,icp + ihl*4,20);
+    memcpy(&cs->cs_ip, icp, 20);
+    memcpy(&cs->cs_tcp, icp + ihl*4, 20);
     if (ihl > 5)
       memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4);
     if (cs->cs_tcp.doff > 5)