lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <489205707f078c77a9f240f4c7f4bbc9@208suo.com>
Date: Fri, 14 Jul 2023 15:21:24 +0800
From: hanyu001@...suo.com
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
 pabeni@...hat.com
Cc: linux-acpi@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH] 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)

Signed-off-by: maqimei <2433033762@...com>
---
  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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ