Geert Uytterhoeven
2e948218b7
serial: sh-sci: Fix crash in rx_timer_fn() on PIO fallback
...
When falling back to PIO, active_rx must be set to a different value
than cookie_rx[i], else sci_dma_rx_find_active() will incorrectly find a
match, leading to a NULL pointer dereference in rx_timer_fn() later.
Use zero instead, which is the same value as after driver
initialization.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-17 15:04:11 +01:00
..
2018-09-10 18:04:31 +02:00
2018-10-13 00:50:31 -04:00
2018-11-27 19:44:21 +01:00
2018-12-17 15:04:11 +01:00
2018-11-10 13:32:14 -06:00
2018-10-13 00:50:53 -04:00
2018-10-13 00:50:30 -04:00
2018-09-18 16:07:25 +02:00
2018-07-07 17:52:26 +02:00
2018-10-13 00:50:31 -04:00
2018-04-09 09:04:10 -07:00
2018-03-26 15:57:24 +02:00
2017-11-08 13:08:12 +01:00
2018-10-13 00:50:32 -04:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2017-11-02 11:10:55 +01:00
2018-10-13 00:50:53 -04:00
2018-12-05 12:16:33 +01:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2018-04-25 14:54:26 +02:00
2018-10-13 00:50:51 -04:00
2017-11-02 11:10:55 +01:00
2018-08-02 10:11:32 +02:00
2017-11-02 11:10:55 +01:00
2018-10-13 00:50:52 -04:00
2018-10-13 00:50:43 -04:00
2018-10-13 00:50:43 -04:00
2018-12-05 12:02:12 +01:00
2018-06-19 10:43:55 -04:00
2018-11-08 03:36:45 -08:00
2018-10-11 19:50:00 +02:00
2018-12-10 10:17:45 +01:00
2018-09-14 11:12:17 -04:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2018-12-05 12:16:33 +01:00
2017-11-02 11:10:55 +01:00
2018-11-27 09:58:11 +01:00
2017-11-04 12:01:54 +01:00