summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2018-11-07 22:30:31 +0100
committerTony Lindgren <tony@atomide.com>2018-11-08 18:25:44 +0100
commitcec83ff1241ec98113a19385ea9e9cfa9aa4125b (patch)
tree66602c1a5cf5c642b7654aeac938596074c1fc9b /arch/arm64/kernel
parentARM: dts: am3517-som: Fix WL127x Wifi interrupt (diff)
downloadlinux-cec83ff1241ec98113a19385ea9e9cfa9aa4125b.tar.xz
linux-cec83ff1241ec98113a19385ea9e9cfa9aa4125b.zip
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: aabf31737a6a ("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>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions