diff options
author | Andrew Donnellan | 2016-02-18 02:12:54 +0100 |
---|---|---|
committer | Michael Ellerman | 2016-02-22 10:31:55 +0100 |
commit | 88409d0c863b3ba7d9e3090fb46cdce16207a1d8 (patch) | |
tree | 097473ba60e866e7e92b78651fbe32f3869aed52 /arch/powerpc/platforms/powernv/subcore.c | |
parent | powerpc: atomic: Implement acquire/release/relaxed variants for cmpxchg (diff) | |
download | kernel-qcow2-linux-88409d0c863b3ba7d9e3090fb46cdce16207a1d8.tar.gz kernel-qcow2-linux-88409d0c863b3ba7d9e3090fb46cdce16207a1d8.tar.xz kernel-qcow2-linux-88409d0c863b3ba7d9e3090fb46cdce16207a1d8.zip |
powerpc/powernv: don't create OPAL msglog sysfs entry if memcons init fails
When initialising OPAL interfaces, there is a possibility that
opal_msglog_init() may fail to initialise the msglog/memory console.
Fix opal_msglog_sysfs_init() so it doesn't try to create sysfs entry for
the msglog if this occurs.
Suggested-by: Joel Stanley <joel@jms.id.au>
Fixes: 9b4fffa14906 ("powerpc/powernv: new function to access OPAL msglog")
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/subcore.c')
0 files changed, 0 insertions, 0 deletions