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: <f6eda9fd824d62f3f2099ce284467dea@208suo.com>
Date:   Fri, 14 Jul 2023 15:33:38 +0800
From:   hanyu001@...suo.com
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: net: slip: Add space after that ','

Fix Error reported by checkpatch.pl

./drivers/net/slip/slhc.c:465: ERROR: space required after that ',' 
(ctx:VxV)
./drivers/net/slip/slhc.c:465: ERROR: space required after that ',' 
(ctx:VxV)
./drivers/net/slip/slhc.c:466: ERROR: space required after that ',' 
(ctx:VxV)
./drivers/net/slip/slhc.c:466: 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 72e64ee..0011915 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -462,8 +462,8 @@ struct slcompress *
      *(__sum16 *)cp = csum;
      cp += 2;
  /* deltaS is now the size of the change section of the compressed 
header */
-    memcpy(cp,new_seq,deltaS);    /* Write list of deltas */
-    memcpy(cp+deltaS,icp+hlen,isize-hlen);
+    memcpy(cp, new_seq, deltaS);    /* Write list of deltas */
+    memcpy(cp+deltaS, icp+hlen, isize-hlen);
      comp->sls_o_compressed++;
      ocp[0] |= SL_TYPE_COMPRESSED_TCP;
      return isize - hlen + deltaS + (cp - ocp);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ