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

hanyu001@208suo.com posted 1 patch 2 years, 6 months ago
drivers/net/slip/slhc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers/net/slip: Add space after that ','
Posted by hanyu001@208suo.com 2 years, 6 months ago

Fix Error reported by checkpatch.pl

./drivers/net/slip/slhc.c:381: ERROR: space required after that ',' 
(ctx:VxV)

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

diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index befdf4a..cf0245a 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -378,7 +378,7 @@ struct slcompress *
          goto uncompressed;
      }
      if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
-        cp = encode(cp,deltaS);
+        cp = encode(cp, deltaS);
          changes |= NEW_W;
      }
      if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){
Re: [PATCH] drivers/net/slip: Add space after that ','
Posted by Jakub Kicinski 2 years, 6 months ago
On Fri, 14 Jul 2023 16:02:13 +0800 hanyu001@208suo.com wrote:
> Fix Error reported by checkpatch.pl
> 
> ./drivers/net/slip/slhc.c:381: ERROR: space required after that ',' 
> (ctx:VxV)

Don't send checkpatch fixes to networking, thanks.