All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6] serial: linflexuart: Remove redundant uart type assignment
@ 2023-01-05 17:04 李哲
  2023-01-06  7:16 ` Jiri Slaby
  2023-01-12 20:13 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: 李哲 @ 2023-01-05 17:04 UTC (permalink / raw)
  To: gregkh, jirislaby, ilpo.jarvinen
  Cc: linux-serial, linux-kernel, 李哲

in linflex_config_port() the member variable type will be
assigned again. see linflex_connfig_port()

Signed-off-by: 李哲 <sensor1010@163.com>
V4 -> V5: Link: https://lore.kernel.org/all/ddcf396b-7b91-00f3-8c16-7de5dc891aef@kernel.org/
V3 -> V4: Link: https://lore.kernel.org/all/2f726128-29c-b7dd-ad8-f8b536fbe5f@linux.intel.com/
V2 -> V3: Link: https://lore.kernel.org/all/8f433e5-fb46-d3b8-431b-4bddcc938f6b@linux.intel.com/
V1 -> V2: Link: https://lore.kernel.org/all/1c33a2af-cd0d-cdde-5bc7-49b418665784@kernel.org/
---
 drivers/tty/serial/fsl_linflexuart.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c
index 6fc21b6684e6..34400cc6ac7f 100644
--- a/drivers/tty/serial/fsl_linflexuart.c
+++ b/drivers/tty/serial/fsl_linflexuart.c
@@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev)
 		return PTR_ERR(sport->membase);
 
 	sport->dev = &pdev->dev;
-	sport->type = PORT_LINFLEXUART;
 	sport->iotype = UPIO_MEM;
 	sport->irq = platform_get_irq(pdev, 0);
 	sport->ops = &linflex_pops;
-- 
2.17.1


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

* Re: [PATCH v6] serial: linflexuart: Remove redundant uart type assignment
  2023-01-05 17:04 [PATCH v6] serial: linflexuart: Remove redundant uart type assignment 李哲
@ 2023-01-06  7:16 ` Jiri Slaby
       [not found]   ` <7a49d3a4.1e16.18cd8564671.Coremail.sensor1010@163.com>
  2023-01-12 20:13 ` Greg KH
  1 sibling, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2023-01-06  7:16 UTC (permalink / raw)
  To: 李哲, gregkh, ilpo.jarvinen; +Cc: linux-serial, linux-kernel

On 05. 01. 23, 18:04, 李哲 wrote:
> in linflex_config_port() the member variable type will be
> assigned again. see linflex_connfig_port()

I wrote to v5:
Please use capitals when you start a sentence. And periods at the ends 
of them.

> Signed-off-by: 李哲 <sensor1010@163.com>


> V4 -> V5: Link: https://lore.kernel.org/all/ddcf396b-7b91-00f3-8c16-7de5dc891aef@kernel.org/
> V3 -> V4: Link: https://lore.kernel.org/all/2f726128-29c-b7dd-ad8-f8b536fbe5f@linux.intel.com/
> V2 -> V3: Link: https://lore.kernel.org/all/8f433e5-fb46-d3b8-431b-4bddcc938f6b@linux.intel.com/
> V1 -> V2: Link: https://lore.kernel.org/all/1c33a2af-cd0d-cdde-5bc7-49b418665784@kernel.org/

This is not the proper way. PLease see:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#the-canonical-patch-format

> ---
>   drivers/tty/serial/fsl_linflexuart.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c
> index 6fc21b6684e6..34400cc6ac7f 100644
> --- a/drivers/tty/serial/fsl_linflexuart.c
> +++ b/drivers/tty/serial/fsl_linflexuart.c
> @@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev)
>   		return PTR_ERR(sport->membase);
>   
>   	sport->dev = &pdev->dev;
> -	sport->type = PORT_LINFLEXUART;
>   	sport->iotype = UPIO_MEM;
>   	sport->irq = platform_get_irq(pdev, 0);
>   	sport->ops = &linflex_pops;

-- 
js
suse labs


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

* Re: [PATCH v6] serial: linflexuart: Remove redundant uart type assignment
  2023-01-05 17:04 [PATCH v6] serial: linflexuart: Remove redundant uart type assignment 李哲
  2023-01-06  7:16 ` Jiri Slaby
@ 2023-01-12 20:13 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2023-01-12 20:13 UTC (permalink / raw)
  To: 李哲; +Cc: jirislaby, ilpo.jarvinen, linux-serial, linux-kernel

On Thu, Jan 05, 2023 at 09:04:37AM -0800, 李哲 wrote:
> in linflex_config_port() the member variable type will be
> assigned again. see linflex_connfig_port()
> 
> Signed-off-by: 李哲 <sensor1010@163.com>
> V4 -> V5: Link: https://lore.kernel.org/all/ddcf396b-7b91-00f3-8c16-7de5dc891aef@kernel.org/
> V3 -> V4: Link: https://lore.kernel.org/all/2f726128-29c-b7dd-ad8-f8b536fbe5f@linux.intel.com/
> V2 -> V3: Link: https://lore.kernel.org/all/8f433e5-fb46-d3b8-431b-4bddcc938f6b@linux.intel.com/
> V1 -> V2: Link: https://lore.kernel.org/all/1c33a2af-cd0d-cdde-5bc7-49b418665784@kernel.org/

Links are not ok for versioning, sorry, please read the documentation
for how to do this properly.

greg k-h

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

* Re:Re: [PATCH v6] serial: linflexuart: Remove redundant uart type assignment
       [not found]   ` <7a49d3a4.1e16.18cd8564671.Coremail.sensor1010@163.com>
@ 2024-01-05 14:48     ` Ilpo Järvinen
  0 siblings, 0 replies; 4+ messages in thread
From: Ilpo Järvinen @ 2024-01-05 14:48 UTC (permalink / raw)
  To: lizhe; +Cc: Jiri Slaby, Greg Kroah-Hartman, linux-serial, LKML

[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]

On Fri, 5 Jan 2024, lizhe wrote:

> HI,all
> 
>        How should I wirte these comments ? please help me, 
>        i am not sure how to properly write these comments, 
>        i want to merge this patch into the mainline
> 
> 
> 
> 
> 
> 
> At 2023-01-06 15:16:56, "Jiri Slaby" <jirislaby@kernel.org> wrote:
> >On 05. 01. 23, 18:04, 李哲 wrote:
> >> in linflex_config_port() the member variable type will be
> >> assigned again. see linflex_connfig_port()
> >
> >I wrote to v5:
> >Please use capitals when you start a sentence. And periods at the ends 
> >of them.
> >> Signed-off-by: 李哲 <sensor1010@163.com>
> >
> >
> >> V4 -> V5: Link: https://lore.kernel.org/all/ddcf396b-7b91-00f3-8c16-7de5d
> c891aef@kernel.org/
> >> V3 -> V4: Link: https://lore.kernel.org/all/2f726128-29c-b7dd-ad8-f8b536f
> be5f@linux.intel.com/
> >> V2 -> V3: Link: https://lore.kernel.org/all/8f433e5-fb46-d3b8-431b-4bddcc
> 938f6b@linux.intel.com/
> >> V1 -> V2: Link: https://lore.kernel.org/all/1c33a2af-cd0d-cdde-5bc7-49b41
> 8665784@kernel.org/
> >
> >This is not the proper way. PLease see:
> >https://www.kernel.org/doc/html/latest/process/submitting-patches.html#the-
> canonical-patch-format

For this you need to spell out the changes you made between versions.

E.g.,

v6:
- Used Chinese letters for From and Signed-off-by


-- 
 i.

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

end of thread, other threads:[~2024-01-05 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05 17:04 [PATCH v6] serial: linflexuart: Remove redundant uart type assignment 李哲
2023-01-06  7:16 ` Jiri Slaby
     [not found]   ` <7a49d3a4.1e16.18cd8564671.Coremail.sensor1010@163.com>
2024-01-05 14:48     ` Ilpo Järvinen
2023-01-12 20:13 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.