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: <05e49e0f838eb127cbaee30f1b404c19@208suo.com>
Date:   Fri, 14 Jul 2023 15:51:49 +0800
From:   hanyu001@...suo.com
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com
Cc:     linux-kernel@...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: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)

Signed-off-by: maqimei <2433033762@...com>
---
  drivers/net/slip/slhc.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index 0011915..befdf4a 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ