Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1664310 > unrolled thread
| Started by | kbuild test robot <lkp@intel.com> |
|---|---|
| First post | 2017-06-13 02:30 +0200 |
| Last post | 2017-06-13 04:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[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
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Date | 2017-06-13 02:30 +0200 |
| Subject | [PATCH] tty: serial: lpuart: fix semicolon.cocci warnings |
| Message-ID | <tRHSx-P4-1@gated-at.bofh.it> |
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)
[toc] | [next] | [standalone]
| From | Dong Aisheng <dongas86@gmail.com> |
|---|---|
| Date | 2017-06-13 04:40 +0200 |
| Message-ID | <tRJUl-29a-1@gated-at.bofh.it> |
| In reply to | #1664310 |
Hi Fengguang,
On Tue, Jun 13, 2017 at 08:28:41AM +0800, kbuild test robot wrote:
> 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>
Seems not catched by checkpatch.
> ---
>
> 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;
> - };
> + }
lpuart32_read needs the same fixing.
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index a66ed23..ed0bf18 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -288,7 +288,7 @@ static inline u32 lpuart32_read(struct uart_port *port, u32 off)
return ioread32be(port->membase + off);
default:
return 0;
- };
+ }
}
static inline void lpuart32_write(struct uart_port *port, u32 val,
@@ -301,7 +301,7 @@ static inline void lpuart32_write(struct uart_port *port, u32 val,
case UPIO_MEM32BE:
iowrite32be(val, port->membase + off);
break;
- };
+ }
}
Thanks for the catching.
Regards
Dong Aisheng
> }
>
> static void lpuart_stop_tx(struct uart_port *port)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web