Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664310

[PATCH] tty: serial: lpuart: fix semicolon.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] tty: serial: lpuart: fix semicolon.cocci warnings
Date 2017-06-13 02:30 +0200
Message-ID <tRHSx-P4-1@gated-at.bofh.it> (permalink)
References <tRHSx-P4-3@gated-at.bofh.it> <tRHSx-P4-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


drivers/tty/serial/fsl_lpuart.c:305:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 fsl_lpuart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -302,7 +302,7 @@ static inline void lpuart32_write(struct
 	case UPIO_MEM32BE:
 		iowrite32be(val, port->membase + off);
 		break;
-	};
+	}
 }
 
 static void lpuart_stop_tx(struct uart_port *port)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] tty: serial: lpuart: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2017-06-13 02:30 +0200
  Re: [PATCH] tty: serial: lpuart: fix semicolon.cocci warnings Dong Aisheng <dongas86@gmail.com> - 2017-06-13 04:40 +0200

csiph-web