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

2016-02-24 Thread Michael Ellerman
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 occu

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

2016-02-17 Thread Andrew Donnellan
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 Fixes: 9b4fffa14906 ("powerpc/powernv