Skip to content

Commit d09a0b1

Browse files
committed
net/tls: use semicolons rather than commas to separate statements
jira LE-1907 Rebuild_History Non-Buildable kernel-4.18.0-394.el8 commit-author Julia Lawall <[email protected]> commit 0403a2b 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> (cherry picked from commit 0403a2b) Signed-off-by: Jonathan Maple <[email protected]>
1 parent 5d8b929 commit d09a0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/tls/tls_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ static int __init tls_register(void)
878878

879879
tls_sw_proto_ops = inet_stream_ops;
880880
tls_sw_proto_ops.splice_read = tls_sw_splice_read;
881-
tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked,
881+
tls_sw_proto_ops.sendpage_locked = tls_sw_sendpage_locked;
882882

883883
tls_device_init();
884884
tcp_register_ulp(&tcp_tls_ulp_ops);

0 commit comments

Comments
 (0)