]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: use semicolons rather than commas to separate statements
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 11 Oct 2020 10:34:57 +0000 (12:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:11:52 +0000 (17:11 -0700)
commit056452a02304710fd5d93e1756c2514853615ebf
treedf59f1214c73398c5e0a7de7ffd29fd7b5c3b4b8
parent82978b6382d4b6a000bb8e57469758c6aea9c15b
net/ipv6: use semicolons rather than commas to separate statements

Replace commas with semicolons.  Commas introduce unnecessary
variability in the code structure and are hard to see.  What is done
is essentially described by the following Coccinelle semantic patch
(http://coccinelle.lip6.fr/):

// <smpl>
@@ expression e1,e2; @@
e1
-,
+;
e2
... when any
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/1602412498-32025-5-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/calipso.c