Re: [PATCH] tty: hvc: convert comma to semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> (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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux