Files
linux/arch/arm/mach-omap1
Janusz Krzysztofik cec83ff124 ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
While playing with initialization order of modem device, it has been
discovered that under some circumstances (early console init, I
believe) its .pm() callback may be called before the
uart_port->private_data pointer is initialized from
plat_serial8250_port->private_data, resulting in NULL pointer
dereference.  Fix it by checking for uninitialized pointer before using
it in modem_pm().

Fixes: aabf31737a ("ARM: OMAP1: ams-delta: update the modem to use regulator API")
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-11-08 09:25:44 -08:00
..
2018-07-02 04:09:35 -07:00
2013-03-13 04:10:57 -06:00
2015-12-01 21:52:50 +01:00
2015-12-01 21:52:50 +01:00
2018-05-17 16:27:58 +02:00
2012-10-31 15:37:14 -07:00
2015-07-28 13:58:13 +02:00
2013-06-18 00:12:34 -07:00
2018-06-12 16:19:22 -07:00
2012-10-31 15:37:14 -07:00
2012-10-31 15:37:14 -07:00