Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-02-02 Thread Andy Shevchenko
On Mon, 2015-02-02 at 09:09 +0100, Michal Simek wrote: > On 01/31/2015 12:23 AM, Greg Kroah-Hartman wrote: > > On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: > >> This patch should be the part of: > >> "tty: serial: 8250_core: use the ->line argument as a hint in > >>

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-02-02 Thread Michal Simek
On 01/31/2015 12:23 AM, Greg Kroah-Hartman wrote: > On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: >> This patch should be the part of: >> "tty: serial: 8250_core: use the ->line argument as a hint in >> serial8250_find_match_or_unused()" >> (sha1:

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-02-02 Thread Andy Shevchenko
On Mon, 2015-02-02 at 09:09 +0100, Michal Simek wrote: On 01/31/2015 12:23 AM, Greg Kroah-Hartman wrote: On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-02-02 Thread Michal Simek
On 01/31/2015 12:23 AM, Greg Kroah-Hartman wrote: On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e)

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-30 Thread Greg Kroah-Hartman
On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: > This patch should be the part of: > "tty: serial: 8250_core: use the ->line argument as a hint in > serial8250_find_match_or_unused()" > (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) > How can I go back in time and add a patch to

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-30 Thread Greg Kroah-Hartman
On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) How can I go back in time and add a patch to another

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-16 Thread Sebastian Andrzej Siewior
On 01/16/2015 12:02 PM, Michal Simek wrote: >>> Origin patch looks good to me but this checking will be good to add. >>> Are you using of_serial.c because I didn't find any of_alias_get_id call >>> for 8250? >> >> I'm using of_alias_get_id() in 8250_omap.c which made it into >> v3.19-rc1. I think

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-16 Thread Michal Simek
On 01/16/2015 11:51 AM, Sebastian Andrzej Siewior wrote: > - Yoshihiro YUNOMAE > (reason: 550 5.1.1 : Recipient > address rejected: User Unknown) > > On 01/16/2015 11:37 AM, Michal Simek wrote: >> Hi, > > Hi, > >> Origin patch looks good to me but this checking will be good to add. >> Are you

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-16 Thread Michal Simek
Hi, On 01/16/2015 10:00 AM, Sebastian Andrzej Siewior wrote: > On 01/15/2015 03:55 PM, Michal Simek wrote: >> This patch should be the part of: >> "tty: serial: 8250_core: use the ->line argument as a hint in >> serial8250_find_match_or_unused()" >> (sha1:

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-16 Thread Sebastian Andrzej Siewior
- Yoshihiro YUNOMAE (reason: 550 5.1.1 : Recipient address rejected: User Unknown) On 01/16/2015 11:37 AM, Michal Simek wrote: > Hi, Hi, > Origin patch looks good to me but this checking will be good to add. > Are you using of_serial.c because I didn't find any of_alias_get_id call > for 8250?

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-16 Thread Sebastian Andrzej Siewior
On 01/15/2015 03:55 PM, Michal Simek wrote: > This patch should be the part of: > "tty: serial: 8250_core: use the ->line argument as a hint in > serial8250_find_match_or_unused()" > (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) > > port->line can be setup by DT driver to -1 which needs to >

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Sebastian Andrzej Siewior
On 01/15/2015 03:55 PM, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) port-line can be setup by DT driver to -1 which needs to be also

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Sebastian Andrzej Siewior
- Yoshihiro YUNOMAE (reason: 550 5.1.1 yoshihiro.yunomae...@hitachi.com: Recipient address rejected: User Unknown) On 01/16/2015 11:37 AM, Michal Simek wrote: Hi, Hi, Origin patch looks good to me but this checking will be good to add. Are you using of_serial.c because I didn't find any

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Michal Simek
Hi, On 01/16/2015 10:00 AM, Sebastian Andrzej Siewior wrote: On 01/15/2015 03:55 PM, Michal Simek wrote: This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e)

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Michal Simek
On 01/16/2015 11:51 AM, Sebastian Andrzej Siewior wrote: - Yoshihiro YUNOMAE (reason: 550 5.1.1 yoshihiro.yunomae...@hitachi.com: Recipient address rejected: User Unknown) On 01/16/2015 11:37 AM, Michal Simek wrote: Hi, Hi, Origin patch looks good to me but this checking will be good

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-16 Thread Sebastian Andrzej Siewior
On 01/16/2015 12:02 PM, Michal Simek wrote: Origin patch looks good to me but this checking will be good to add. Are you using of_serial.c because I didn't find any of_alias_get_id call for 8250? I'm using of_alias_get_id() in 8250_omap.c which made it into v3.19-rc1. I think the change you

[PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-01-15 Thread Michal Simek
This patch should be the part of: "tty: serial: 8250_core: use the ->line argument as a hint in serial8250_find_match_or_unused()" (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) port->line can be setup by DT driver to -1 which needs to be also checked. Signed-off-by: Michal Simek --- I have

[PATCH 2/2] tty: serial: 8250_core: Check that port-line is =0

2015-01-15 Thread Michal Simek
This patch should be the part of: tty: serial: 8250_core: use the -line argument as a hint in serial8250_find_match_or_unused() (sha1: 59b3e898ddfc81a65975043b5eb44103cc29ff6e) port-line can be setup by DT driver to -1 which needs to be also checked. Signed-off-by: Michal Simek