Guenter Roeck
f356d7a7dd
serial: etraxfs-uart: Fix crash
Since commit 7d8c70d804 ("serial: mctrl-gpio: rename init function"),
crisv32 either do not build or crash as follows.
Unable to handle kernel NULL pointer dereference
Linux 4.3.0-rc7-next-20151101 #1 Sun Nov 1 11:41:28 PST 2015
...
Call Trace: [<c0004a0e>] show_stack+0x0/0x9e
[<c004c0c0>] printk+0x0/0x2c
[<c00059d4>] show_registers+0x14a/0x1c2
[<c004c0c0>] printk+0x0/0x2c
[<c0004b52>] die_if_kernel+0x7c/0x9e
[<c0005346>] do_page_fault+0x32e/0x3e6
[<c01dc59c>] of_get_property+0x0/0x2c
[<c01e0558>] of_irq_parse_raw+0x12a/0x376
[<c01dc59c>] of_get_property+0x0/0x2c
[<c0053aca>] get_page_from_freelist+0x73e/0x856
[<c01dc59c>] of_get_property+0x0/0x2c
[<c0008912>] d_mmu_refill+0x10a/0x112
[<c01b488c>] devm_kmalloc+0x40/0x56
[<c01b47d0>] add_dr+0xc/0x1c
[<c01b4800>] devm_add_action+0x2/0x4e
[<c01abdbc>] mctrl_gpio_init_noauto+0x1c/0x76
[<c01abf9e>] mctrl_gpio_init+0x22/0x110
The function call in the etraxfs-uart driver was not renamed,
possibly due to interference with commit 7b9c5162c1 ("serial:
etraxfs-uart: use mctrl_gpio helpers for handling modem signals").
Fixes: 7d8c70d804 ("serial: mctrl-gpio: rename init function")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-11-20 16:19:54 -08:00
..
2015-11-12 11:50:33 -08:00
2015-11-13 20:35:54 -08:00
2015-11-12 11:50:33 -08:00
2015-11-13 09:24:40 -08:00
2015-11-10 18:11:41 -08:00
2015-11-10 15:00:03 -08:00
2015-11-12 20:38:04 +11:00
2015-11-12 15:26:39 -08:00
2015-11-15 09:10:53 -08:00
2015-11-06 17:50:42 -08:00
2015-11-12 11:50:33 -08:00
2015-10-23 12:40:48 +02:00
2015-11-12 11:50:33 -08:00
2015-11-10 10:05:17 -08:00
2015-10-30 01:16:16 -04:00
2015-11-06 14:22:15 -08:00
2015-10-26 14:48:22 +00:00
2015-11-11 10:21:34 -08:00
2015-11-10 15:00:03 -08:00
2015-10-29 15:20:25 -07:00
2015-11-06 14:22:15 -08:00
2015-11-13 09:12:38 -08:00
2015-11-07 12:49:27 -08:00
2015-10-30 16:10:40 +01:00
2015-11-04 16:24:33 +01:00
2015-11-10 15:00:03 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 11:58:25 -08:00
2015-11-06 17:50:42 -08:00
2015-11-05 13:15:12 -08:00
2015-11-13 20:35:54 -08:00
2015-11-13 21:41:14 -08:00
2015-11-06 17:50:42 -08:00
2015-11-15 09:10:53 -08:00
2015-11-04 21:35:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-07 10:40:46 -07:00
2015-10-15 20:31:59 +11:00
2015-11-04 14:03:04 +05:30
2015-10-29 09:02:16 +09:00
2015-11-10 17:23:49 -08:00
2015-11-10 16:32:11 -08:00
2015-11-10 15:00:03 -08:00
2015-11-12 07:06:18 -05:00
2015-11-06 14:22:15 -08:00
2015-11-13 20:04:17 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 16:35:06 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 18:11:41 -08:00
2015-11-08 16:24:43 -05:00
2015-11-12 09:55:23 -08:00
2015-11-11 09:36:57 -07:00
2015-11-12 11:50:33 -08:00
2015-11-10 16:32:11 -08:00
2015-11-12 11:50:33 -08:00
2015-11-04 14:47:13 -08:00
2015-11-09 17:44:24 -05:00
2015-11-02 12:59:12 -08:00
2015-11-13 21:53:18 -08:00
2015-11-06 10:23:50 -08:00
2015-10-16 22:30:48 +02:00
2015-11-11 09:16:10 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 10:01:21 -08:00
2015-11-07 10:40:46 -07:00
2015-11-13 20:35:54 -08:00
2015-11-10 15:00:03 -08:00
2015-11-04 11:02:16 +00:00
2015-11-04 22:15:15 -08:00
2015-10-28 21:05:21 +02:00
2015-11-10 17:23:49 -08:00
2015-11-13 20:35:54 -08:00
2015-11-11 19:52:39 -08:00
2015-11-20 16:19:54 -08:00
2015-11-13 20:35:54 -08:00
2015-11-04 21:50:37 -08:00
2015-11-13 17:05:32 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 10:00:09 -08:00
2015-11-04 22:15:15 -08:00
2015-11-05 12:28:15 -08:00
2015-11-10 10:11:12 -08:00
2015-11-13 20:04:17 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00