* Div-by-zero in the 8250 serial driver (3.17-rc5)
@ 2014-09-18 14:57 Robert Święcki
2014-09-19 12:56 ` Peter Hurley
0 siblings, 1 reply; 6+ messages in thread
From: Robert Święcki @ 2014-09-18 14:57 UTC (permalink / raw)
To: linux-kernel
Hi,
# setserial /dev/ttyS0 spd_hi baud_base 38400
Entering kdb (current=0xffff8805ee033200, pid 1798) on processor 9 Oops: (null)
due to oops @ 0xffffffff8149c01e
\x01CPU: 9 PID: 1798 Comm: setserial Tainted: G W I
3.17.0-031700rc5-generic-201409151105
task: ffff8805ee033200 ti: ffff8800e39e0000 task.ti: ffff8800e39e0000
RIP: 0010:[<ffffffff8149c01e>] [<ffffffff8149c01e>] uart_get_divisor+0x1e/0x40
RSP: 0018:ffff8800e39e3c30 EFLAGS: 00010206
RAX: 0000000000096000 RBX: ffffffff81fab060 RCX: 0000000000000006
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fab060
RBP: ffff8800e39e3c78 R08: 000000000000000a R09: 00000000000003d2
R10: 0000000000000000 R11: 00000000000003d1 R12: 0000000000000013
R13: ffff8805f0748d2c R14: 0000000000000000 R15: 0000000000000010
FS: 00007f0fa653d740(0000) GS:ffff880613920000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0fa6003330 CR3: 00000000365f8000 CR4: 00000000000007e0
Stack:
ffffffff814a2978 ffffffff81fab060 0000000000000010 ffff8800e39e3ca8
ffff8805eca08000 ffff8805f0748c00 ffff8800e39e3dc0 ffffffff81fab060
0000000000000010 ffff8800e39e3c88 ffffffff814a2d55 ffff8800e39e3ca8
Call Trace:
[<ffffffff814a2978>] ? serial8250_do_set_termios+0xd8/0x490
[<ffffffff814a2d55>] serial8250_set_termios+0x25/0x30
[<ffffffff8149dce2>] uart_change_speed+0x52/0xb0
[<ffffffff8149ec9c>] uart_set_info+0x20c/0x5f0
[<ffffffff8149c75a>] ? do_uart_get_info+0xfa/0x1a0
[<ffffffff8149fbdf>] uart_ioctl+0x14f/0x220
[<ffffffff814804d8>] tty_ioctl+0x298/0x8f0
[<ffffffff811fc025>] do_vfs_ioctl+0x75/0x2c0
[<ffffffff811fc301>] SyS_ioctl+0x91/0xb0
[<ffffffff817a436d>] system_call_fastpath+0x1a/0x1f
Code: c0 00 00 00 c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 81 fe
00 96 00 00 48 89 e5 74 17 c1 e6 04 31 d2 89 f0 d1 e8 03 47 58 5d <f7>
f6 c3 0f 1f 80 00 00 00 00 8b 87 b8 00 00 00 25 30 10 00 00
>From some earlier kernel I have vmlinux for (Ubuntu's 3.13.0-35-generic)
(gdb) bt full
#0 uart_get_divisor (port=0xffffffff81fc4680 <serial8250_ports>,
baud=<optimized out>)
at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:423
__d = 0
quot = <optimized out>
#1 0xffffffff8146b2da in serial8250_get_divisor (baud=<optimized
out>, port=<optimized out>)
at /build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2263
No locals.
#2 serial8250_do_set_termios (port=0xffffffff81fc4680
<serial8250_ports>, termios=0x0 <irq_stack_union>,
old=<optimized out>) at
/build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2315
cval = 19 '\023'
fcr = <optimized out>
baud = 0
quot = <optimized out>
fifo_bug = <optimized out>
#3 0xffffffff8146b665 in serial8250_set_termios (port=<optimized
out>, termios=<optimized out>, old=<optimized out>)
at /build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2467
No locals.
#4 0xffffffff814663f0 in uart_change_speed (tty=<optimized out>,
state=<optimized out>, old_termios=<optimized out>)
at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:460
uport = <optimized out>
termios = <optimized out>
#5 0xffffffff81468c8b in uart_set_info (tty=<optimized out>,
port=0xffff8805ef9f8000, state=0xffff8805ef9f8000,
new_info=0xffff8805f1d9ddb8) at
/build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:889
uport = 0xffffffff81fc4680 <serial8250_ports>
change_irq = <optimized out>
closing_wait = 7500
old_custom_divisor = <optimized out>
new_flags = <optimized out>
#6 0xffffffff8146a6ef in uart_set_info_user (newinfo=<optimized out>,
state=<optimized out>, tty=<optimized out>)
at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:915
new_serial = {type = 4, line = 0, port = 1016, irq = 4, flags
= 268435536, xmit_fifo_size = 16,
custom_divisor = 0, baud_base = 38400, close_delay = 50,
io_type = 0 '\000', reserved_char = "", hub6 = 0,
closing_wait = 3000, closing_wait2 = 0, iomem_base = 0x0
<irq_stack_union>, iomem_reg_shift = 0,
port_high = 0, iomap_base = 0}
#7 uart_ioctl (tty=0xffffffff81fc4680 <serial8250_ports>, cmd=0, arg=0)
at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:1162
state = 0xffff8805ef9f8000
ret = <optimized out>
#8 0xffffffff8144a6dd in tty_ioctl (file=0xffff8800357c5c00,
cmd=21535, arg=140737325927280)
at /build/buildd/linux-3.13.0/drivers/tty/tty_io.c:2850
ld = <optimized out>
#9 0xffffffff811d0360 in vfs_ioctl (arg=<optimized out>,
cmd=<optimized out>, filp=<optimized out>)
at /build/buildd/linux-3.13.0/fs/ioctl.c:43
No locals.
#10 do_vfs_ioctl (filp=0xffff8800357c5c00, fd=<optimized out>,
cmd=<optimized out>, arg=<optimized out>)
at /build/buildd/linux-3.13.0/fs/ioctl.c:598
argp = 0x7ffff6518b70
#11 0xffffffff811d05c1 in SYSC_ioctl (arg=<optimized out>,
cmd=<optimized out>, fd=<optimized out>)
at /build/buildd/linux-3.13.0/fs/ioctl.c:613
error = <optimized out>
#12 SyS_ioctl (fd=3, cmd=21535, arg=140737325927280) at
/build/buildd/linux-3.13.0/fs/ioctl.c:604
--
Robert Święcki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Div-by-zero in the 8250 serial driver (3.17-rc5)
2014-09-18 14:57 Div-by-zero in the 8250 serial driver (3.17-rc5) Robert Święcki
@ 2014-09-19 12:56 ` Peter Hurley
2014-09-19 16:21 ` Robert Święcki
2014-10-16 13:07 ` Peter Hurley
0 siblings, 2 replies; 6+ messages in thread
From: Peter Hurley @ 2014-09-19 12:56 UTC (permalink / raw)
To: Robert Święcki, linux-kernel, Greg KH; +Cc: One Thousand Gnomes
[ +cc Greg Kroah-Hartman, AlanC ]
On 09/18/2014 10:57 AM, Robert Święcki wrote:
> Hi,
>
> # setserial /dev/ttyS0 spd_hi baud_base 38400
>
> Entering kdb (current=0xffff8805ee033200, pid 1798) on processor 9 Oops: (null)
> due to oops @ 0xffffffff8149c01e
> \x01CPU: 9 PID: 1798 Comm: setserial Tainted: G W I
> 3.17.0-031700rc5-generic-201409151105
> task: ffff8805ee033200 ti: ffff8800e39e0000 task.ti: ffff8800e39e0000
> RIP: 0010:[<ffffffff8149c01e>] [<ffffffff8149c01e>] uart_get_divisor+0x1e/0x40
> RSP: 0018:ffff8800e39e3c30 EFLAGS: 00010206
> RAX: 0000000000096000 RBX: ffffffff81fab060 RCX: 0000000000000006
> RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fab060
> RBP: ffff8800e39e3c78 R08: 000000000000000a R09: 00000000000003d2
> R10: 0000000000000000 R11: 00000000000003d1 R12: 0000000000000013
> R13: ffff8805f0748d2c R14: 0000000000000000 R15: 0000000000000010
> FS: 00007f0fa653d740(0000) GS:ffff880613920000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 00007f0fa6003330 CR3: 00000000365f8000 CR4: 00000000000007e0
> Stack:
> ffffffff814a2978 ffffffff81fab060 0000000000000010 ffff8800e39e3ca8
> ffff8805eca08000 ffff8805f0748c00 ffff8800e39e3dc0 ffffffff81fab060
> 0000000000000010 ffff8800e39e3c88 ffffffff814a2d55 ffff8800e39e3ca8
> Call Trace:
> [<ffffffff814a2978>] ? serial8250_do_set_termios+0xd8/0x490
> [<ffffffff814a2d55>] serial8250_set_termios+0x25/0x30
> [<ffffffff8149dce2>] uart_change_speed+0x52/0xb0
> [<ffffffff8149ec9c>] uart_set_info+0x20c/0x5f0
> [<ffffffff8149c75a>] ? do_uart_get_info+0xfa/0x1a0
> [<ffffffff8149fbdf>] uart_ioctl+0x14f/0x220
> [<ffffffff814804d8>] tty_ioctl+0x298/0x8f0
> [<ffffffff811fc025>] do_vfs_ioctl+0x75/0x2c0
> [<ffffffff811fc301>] SyS_ioctl+0x91/0xb0
> [<ffffffff817a436d>] system_call_fastpath+0x1a/0x1f
> Code: c0 00 00 00 c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 81 fe
> 00 96 00 00 48 89 e5 74 17 c1 e6 04 31 d2 89 f0 d1 e8 03 47 58 5d <f7>
> f6 c3 0f 1f 80 00 00 00 00 8b 87 b8 00 00 00 25 30 10 00 00
Hi Robert,
Thanks for the report.
I was able to reproduce this crash on all recent kernels I tested. The
patch below fixed the problem for me. If possible, please test the patch
on your system.
Regards,
Peter Hurley
--- >% ---
Subject: [PATCH] serial: Fix divide-by-zero fault in uart_get_divisor()
uart_get_baud_rate() will return baud == 0 if the max rate is set
to the "magic" 38400 rate and the SPD_* flags are also specified.
On the first iteration, if the current baud rate is higher than the
max, the baud rate is clamped at the max (which in the degenerate
case is 38400). On the second iteration, the now-"magic" 38400 baud
rate selects the possibly higher alternate baud rate indicated by
the SPD_* flag. Since only two loop iterations are performed, the
loop is exited, a kernel WARNING is generated and a baud rate of
0 is returned.
Reproducible with:
setserial /dev/ttyS0 spd_hi base_baud 38400
Only perform the "magic" 38400 -> SPD_* baud transform on the first
loop iteration, which prevents the degenerate case from recognizing
the clamped baud rate as the "magic" 38400 value.
Reported-by: Robert Święcki <robert@swiecki.net>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
---
drivers/tty/serial/serial_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index 66e2de6..d0a5fc9 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -359,7 +359,7 @@ uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
* The spd_hi, spd_vhi, spd_shi, spd_warp kludge...
* Die! Die! Die!
*/
- if (baud == 38400)
+ if (try == 0 && baud == 38400)
baud = altbaud;
/*
--
2.1.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: Div-by-zero in the 8250 serial driver (3.17-rc5)
2014-09-19 12:56 ` Peter Hurley
@ 2014-09-19 16:21 ` Robert Święcki
2014-10-16 13:07 ` Peter Hurley
1 sibling, 0 replies; 6+ messages in thread
From: Robert Święcki @ 2014-09-19 16:21 UTC (permalink / raw)
To: Peter Hurley; +Cc: linux-kernel, Greg KH, One Thousand Gnomes
2014-09-19 14:56 GMT+02:00 Peter Hurley <peter@hurleysoftware.com>:
> [ +cc Greg Kroah-Hartman, AlanC ]
>
> On 09/18/2014 10:57 AM, Robert Święcki wrote:
>> Hi,
>>
>> # setserial /dev/ttyS0 spd_hi baud_base 38400
>>
>> Entering kdb (current=0xffff8805ee033200, pid 1798) on processor 9 Oops: (null)
>> due to oops @ 0xffffffff8149c01e
>> CPU: 9 PID: 1798 Comm: setserial Tainted: G W I
>> 3.17.0-031700rc5-generic-201409151105
>> task: ffff8805ee033200 ti: ffff8800e39e0000 task.ti: ffff8800e39e0000
>> RIP: 0010:[<ffffffff8149c01e>] [<ffffffff8149c01e>] uart_get_divisor+0x1e/0x40
>> RSP: 0018:ffff8800e39e3c30 EFLAGS: 00010206
>> RAX: 0000000000096000 RBX: ffffffff81fab060 RCX: 0000000000000006
>> RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fab060
>> RBP: ffff8800e39e3c78 R08: 000000000000000a R09: 00000000000003d2
>> R10: 0000000000000000 R11: 00000000000003d1 R12: 0000000000000013
>> R13: ffff8805f0748d2c R14: 0000000000000000 R15: 0000000000000010
>> FS: 00007f0fa653d740(0000) GS:ffff880613920000(0000) knlGS:0000000000000000
>> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> CR2: 00007f0fa6003330 CR3: 00000000365f8000 CR4: 00000000000007e0
>> Stack:
>> ffffffff814a2978 ffffffff81fab060 0000000000000010 ffff8800e39e3ca8
>> ffff8805eca08000 ffff8805f0748c00 ffff8800e39e3dc0 ffffffff81fab060
>> 0000000000000010 ffff8800e39e3c88 ffffffff814a2d55 ffff8800e39e3ca8
>> Call Trace:
>> [<ffffffff814a2978>] ? serial8250_do_set_termios+0xd8/0x490
>> [<ffffffff814a2d55>] serial8250_set_termios+0x25/0x30
>> [<ffffffff8149dce2>] uart_change_speed+0x52/0xb0
>> [<ffffffff8149ec9c>] uart_set_info+0x20c/0x5f0
>> [<ffffffff8149c75a>] ? do_uart_get_info+0xfa/0x1a0
>> [<ffffffff8149fbdf>] uart_ioctl+0x14f/0x220
>> [<ffffffff814804d8>] tty_ioctl+0x298/0x8f0
>> [<ffffffff811fc025>] do_vfs_ioctl+0x75/0x2c0
>> [<ffffffff811fc301>] SyS_ioctl+0x91/0xb0
>> [<ffffffff817a436d>] system_call_fastpath+0x1a/0x1f
>> Code: c0 00 00 00 c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 81 fe
>> 00 96 00 00 48 89 e5 74 17 c1 e6 04 31 d2 89 f0 d1 e8 03 47 58 5d <f7>
>> f6 c3 0f 1f 80 00 00 00 00 8b 87 b8 00 00 00 25 30 10 00 00
>
> Hi Robert,
>
> Thanks for the report.
>
> I was able to reproduce this crash on all recent kernels I tested. The
> patch below fixed the problem for me. If possible, please test the patch
> on your system.
Yup, the crash is gone.
Thanks for the fix!
> Regards,
> Peter Hurley
>
> --- >% ---
> Subject: [PATCH] serial: Fix divide-by-zero fault in uart_get_divisor()
>
> uart_get_baud_rate() will return baud == 0 if the max rate is set
> to the "magic" 38400 rate and the SPD_* flags are also specified.
> On the first iteration, if the current baud rate is higher than the
> max, the baud rate is clamped at the max (which in the degenerate
> case is 38400). On the second iteration, the now-"magic" 38400 baud
> rate selects the possibly higher alternate baud rate indicated by
> the SPD_* flag. Since only two loop iterations are performed, the
> loop is exited, a kernel WARNING is generated and a baud rate of
> 0 is returned.
>
> Reproducible with:
> setserial /dev/ttyS0 spd_hi base_baud 38400
>
> Only perform the "magic" 38400 -> SPD_* baud transform on the first
> loop iteration, which prevents the degenerate case from recognizing
> the clamped baud rate as the "magic" 38400 value.
>
> Reported-by: Robert Święcki <robert@swiecki.net>
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
> ---
> drivers/tty/serial/serial_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
> index 66e2de6..d0a5fc9 100644
> --- a/drivers/tty/serial/serial_core.c
> +++ b/drivers/tty/serial/serial_core.c
> @@ -359,7 +359,7 @@ uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
> * The spd_hi, spd_vhi, spd_shi, spd_warp kludge...
> * Die! Die! Die!
> */
> - if (baud == 38400)
> + if (try == 0 && baud == 38400)
> baud = altbaud;
>
> /*
> --
> 2.1.0
--
Robert Święcki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Div-by-zero in the 8250 serial driver (3.17-rc5)
2014-09-19 12:56 ` Peter Hurley
2014-09-19 16:21 ` Robert Święcki
@ 2014-10-16 13:07 ` Peter Hurley
2014-10-16 13:19 ` Greg KH
1 sibling, 1 reply; 6+ messages in thread
From: Peter Hurley @ 2014-10-16 13:07 UTC (permalink / raw)
To: Greg KH; +Cc: Robert Święcki, linux-kernel, One Thousand Gnomes
Hi Greg,
I noticed this patch didn't make it into 3.18-rc1 or -next.
Do I need to resend this?
Regards,
Peter Hurley
On 09/19/2014 08:56 AM, Peter Hurley wrote:
> [ +cc Greg Kroah-Hartman, AlanC ]
>
> On 09/18/2014 10:57 AM, Robert Święcki wrote:
>> Hi,
>>
>> # setserial /dev/ttyS0 spd_hi baud_base 38400
>>
>> Entering kdb (current=0xffff8805ee033200, pid 1798) on processor 9 Oops: (null)
>> due to oops @ 0xffffffff8149c01e
>> \x01CPU: 9 PID: 1798 Comm: setserial Tainted: G W I
>> 3.17.0-031700rc5-generic-201409151105
>> task: ffff8805ee033200 ti: ffff8800e39e0000 task.ti: ffff8800e39e0000
>> RIP: 0010:[<ffffffff8149c01e>] [<ffffffff8149c01e>] uart_get_divisor+0x1e/0x40
>> RSP: 0018:ffff8800e39e3c30 EFLAGS: 00010206
>> RAX: 0000000000096000 RBX: ffffffff81fab060 RCX: 0000000000000006
>> RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fab060
>> RBP: ffff8800e39e3c78 R08: 000000000000000a R09: 00000000000003d2
>> R10: 0000000000000000 R11: 00000000000003d1 R12: 0000000000000013
>> R13: ffff8805f0748d2c R14: 0000000000000000 R15: 0000000000000010
>> FS: 00007f0fa653d740(0000) GS:ffff880613920000(0000) knlGS:0000000000000000
>> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> CR2: 00007f0fa6003330 CR3: 00000000365f8000 CR4: 00000000000007e0
>> Stack:
>> ffffffff814a2978 ffffffff81fab060 0000000000000010 ffff8800e39e3ca8
>> ffff8805eca08000 ffff8805f0748c00 ffff8800e39e3dc0 ffffffff81fab060
>> 0000000000000010 ffff8800e39e3c88 ffffffff814a2d55 ffff8800e39e3ca8
>> Call Trace:
>> [<ffffffff814a2978>] ? serial8250_do_set_termios+0xd8/0x490
>> [<ffffffff814a2d55>] serial8250_set_termios+0x25/0x30
>> [<ffffffff8149dce2>] uart_change_speed+0x52/0xb0
>> [<ffffffff8149ec9c>] uart_set_info+0x20c/0x5f0
>> [<ffffffff8149c75a>] ? do_uart_get_info+0xfa/0x1a0
>> [<ffffffff8149fbdf>] uart_ioctl+0x14f/0x220
>> [<ffffffff814804d8>] tty_ioctl+0x298/0x8f0
>> [<ffffffff811fc025>] do_vfs_ioctl+0x75/0x2c0
>> [<ffffffff811fc301>] SyS_ioctl+0x91/0xb0
>> [<ffffffff817a436d>] system_call_fastpath+0x1a/0x1f
>> Code: c0 00 00 00 c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 81 fe
>> 00 96 00 00 48 89 e5 74 17 c1 e6 04 31 d2 89 f0 d1 e8 03 47 58 5d <f7>
>> f6 c3 0f 1f 80 00 00 00 00 8b 87 b8 00 00 00 25 30 10 00 00
>
> Hi Robert,
>
> Thanks for the report.
>
> I was able to reproduce this crash on all recent kernels I tested. The
> patch below fixed the problem for me. If possible, please test the patch
> on your system.
>
> Regards,
> Peter Hurley
>
> --- >% ---
> Subject: [PATCH] serial: Fix divide-by-zero fault in uart_get_divisor()
>
> uart_get_baud_rate() will return baud == 0 if the max rate is set
> to the "magic" 38400 rate and the SPD_* flags are also specified.
> On the first iteration, if the current baud rate is higher than the
> max, the baud rate is clamped at the max (which in the degenerate
> case is 38400). On the second iteration, the now-"magic" 38400 baud
> rate selects the possibly higher alternate baud rate indicated by
> the SPD_* flag. Since only two loop iterations are performed, the
> loop is exited, a kernel WARNING is generated and a baud rate of
> 0 is returned.
>
> Reproducible with:
> setserial /dev/ttyS0 spd_hi base_baud 38400
>
> Only perform the "magic" 38400 -> SPD_* baud transform on the first
> loop iteration, which prevents the degenerate case from recognizing
> the clamped baud rate as the "magic" 38400 value.
>
> Reported-by: Robert Święcki <robert@swiecki.net>
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
> ---
> drivers/tty/serial/serial_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
> index 66e2de6..d0a5fc9 100644
> --- a/drivers/tty/serial/serial_core.c
> +++ b/drivers/tty/serial/serial_core.c
> @@ -359,7 +359,7 @@ uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
> * The spd_hi, spd_vhi, spd_shi, spd_warp kludge...
> * Die! Die! Die!
> */
> - if (baud == 38400)
> + if (try == 0 && baud == 38400)
> baud = altbaud;
>
> /*
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Div-by-zero in the 8250 serial driver (3.17-rc5)
2014-10-16 13:07 ` Peter Hurley
@ 2014-10-16 13:19 ` Greg KH
2014-10-16 13:27 ` Peter Hurley
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2014-10-16 13:19 UTC (permalink / raw)
To: Peter Hurley; +Cc: Robert Święcki, linux-kernel, One Thousand Gnomes
On Thu, Oct 16, 2014 at 09:07:42AM -0400, Peter Hurley wrote:
> Hi Greg,
>
> I noticed this patch didn't make it into 3.18-rc1 or -next.
> Do I need to resend this?
Ugh, sorry about that, I think it got buried in the thread. Please
always resend things like this in a patch-form that I can apply it
without having to edit the email by hand.
So yes, please resend, I'll get it into an early -rc release. And is
this needed for 3.17-stable and prior?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Div-by-zero in the 8250 serial driver (3.17-rc5)
2014-10-16 13:19 ` Greg KH
@ 2014-10-16 13:27 ` Peter Hurley
0 siblings, 0 replies; 6+ messages in thread
From: Peter Hurley @ 2014-10-16 13:27 UTC (permalink / raw)
To: Greg KH; +Cc: Robert Święcki, linux-kernel, One Thousand Gnomes
On 10/16/2014 09:19 AM, Greg KH wrote:
> On Thu, Oct 16, 2014 at 09:07:42AM -0400, Peter Hurley wrote:
>> Hi Greg,
>>
>> I noticed this patch didn't make it into 3.18-rc1 or -next.
>> Do I need to resend this?
>
> Ugh, sorry about that, I think it got buried in the thread. Please
> always resend things like this in a patch-form that I can apply it
> without having to edit the email by hand.
Ok. I guess for some reason I thought that your scripts scissored
automatically. Will do for the future.
> So yes, please resend, I'll get it into an early -rc release. And is
> this needed for 3.17-stable and prior?
Yes, for all -stable. I'll cc stable in the resend.
Regards,
Peter Hurley
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-16 13:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 14:57 Div-by-zero in the 8250 serial driver (3.17-rc5) Robert Święcki
2014-09-19 12:56 ` Peter Hurley
2014-09-19 16:21 ` Robert Święcki
2014-10-16 13:07 ` Peter Hurley
2014-10-16 13:19 ` Greg KH
2014-10-16 13:27 ` Peter Hurley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox