powerpc/powernv: don't create OPAL msglog sysfs entry if memcons init fails

Michael Ellerman mpe at ellerman.id.au
Thu Feb 25 01:34:22 AEDT 2016


On Thu, 2016-18-02 at 01:12:54 UTC, Andrew Donnellan wrote:
> 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 at jms.id.au>
> Fixes: 9b4fffa14906 ("powerpc/powernv: new function to access OPAL msglog")
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/88409d0c863b3ba7d9e3090fb4

cheers


More information about the Linuxppc-dev mailing list