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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 drivers/acpi/acpica/rslist.c | 2 +-
 drivers/net/slip/slhc.c      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

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)



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux