summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kgdb.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-08-27 10:27:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-20 04:26:47 +0200
commit6beb3381b12793726783a5e9428250743659c6cf (patch)
tree53bb1daa2c46727e4d149c15397502ec49a205ec /arch/powerpc/kernel/kgdb.c
parentpowerpc/mm: fix always true/false warning in slice.c (diff)
downloadlinux-6beb3381b12793726783a5e9428250743659c6cf.tar.xz
linux-6beb3381b12793726783a5e9428250743659c6cf.zip
powerpc/sysdev/ipic: check primary_ipic NULL pointer before using it
ipic_get_mcp_status() is used by targets implementing NMI watchdog in target specific machine check handler in order to known whether a machine check results from a watchdog NMI reset. In case of very early machine check, primary_ipic pointer might not have been set yet, so ipic_get_mcp_status() needs to check it for nullity before using it. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/kgdb.c')
0 files changed, 0 insertions, 0 deletions