linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty: hvc: convert comma to semicolon
@ 2024-09-03  2:30 Chen Ni
  2024-09-03  6:50 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Ni @ 2024-09-03  2:30 UTC (permalink / raw)
  To: gregkh, jirislaby; +Cc: linuxppc-dev, linux-kernel, linux-serial, Chen Ni

Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/tty/hvc/hvsi_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/hvc/hvsi_lib.c b/drivers/tty/hvc/hvsi_lib.c
index 22e1bc4d8a66..b35c44caf3d7 100644
--- a/drivers/tty/hvc/hvsi_lib.c
+++ b/drivers/tty/hvc/hvsi_lib.c
@@ -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);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tty: hvc: convert comma to semicolon
  2024-09-03  2:30 [PATCH] tty: hvc: convert comma to semicolon Chen Ni
@ 2024-09-03  6:50 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2024-09-03  6:50 UTC (permalink / raw)
  To: Chen Ni, gregkh, jirislaby
  Cc: linuxppc-dev, linux-kernel, linux-serial, Chen Ni

Chen Ni <nichen@iscas.ac.cn> writes:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>  drivers/tty/hvc/hvsi_lib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)

cheers

> diff --git a/drivers/tty/hvc/hvsi_lib.c b/drivers/tty/hvc/hvsi_lib.c
> index 22e1bc4d8a66..b35c44caf3d7 100644
> --- a/drivers/tty/hvc/hvsi_lib.c
> +++ b/drivers/tty/hvc/hvsi_lib.c
> @@ -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);
> -- 
> 2.25.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-03  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03  2:30 [PATCH] tty: hvc: convert comma to semicolon Chen Ni
2024-09-03  6:50 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).