]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tty: hvc: convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 3 Sep 2024 02:30:01 +0000 (10:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 08:47:56 +0000 (10:47 +0200)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20240903023001.491055-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvsi_lib.c

index 22e1bc4d8a66835dc642e0f5bb67fc3360de0caa..b35c44caf3d79271a5d07d508b9febe185636f9b 100644 (file)
@@ -303,7 +303,7 @@ int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr)
        pr_devel("HVSI@%x: %s DTR...\n", pv->termno,
                 dtr ? "Setting" : "Clearing");
 
-       ctrl.hdr.type = VS_CONTROL_PACKET_HEADER,
+       ctrl.hdr.type = VS_CONTROL_PACKET_HEADER;
        ctrl.hdr.len = sizeof(struct hvsi_control);
        ctrl.verb = cpu_to_be16(VSV_SET_MODEM_CTL);
        ctrl.mask = cpu_to_be32(HVSI_TSDTR);