On 04/30/2015 09:20 AM, Joel Stanley wrote:
OpenPower BMC machines do not place any sysparams in the device tree, so
at every boot we get a warning:

 [    0.437176] SYSPARAM: Opal sysparam node not found

Remove the warning, and reorder the init so we don't peform allocations
when there is no sysparam node in the device tree.

Acked-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>


Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/powerpc/platforms/powernv/opal-sysparam.c | 31 +++++++++++++-------------
 1 file changed, 15 insertions(+), 16 deletions(-)