diff mbox series

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

Message ID 489205707f078c77a9f240f4c7f4bbc9@208suo.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series drivers: net: slip: Add space after that ',' | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

hanyu001@208suo.com July 14, 2023, 7:21 a.m. UTC
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)

Signed-off-by: maqimei <2433033762@qq.com>
---
  drivers/acpi/acpica/rslist.c | 2 +-
  drivers/net/slip/slhc.c      | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpica/rslist.c b/drivers/acpi/acpica/rslist.c
index 164c96e..d7dcd10 100644
--- a/drivers/acpi/acpica/rslist.c
+++ b/drivers/acpi/acpica/rslist.c
@@ -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)
  {
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index ba93bab..72e64ee 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -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)