From: Tyrel Datwyler Date: Thu, 15 Aug 2013 05:23:46 +0000 (-0700) Subject: powerpc/pseries: Fix over writing of rtas return code in update_dt_node X-Git-Tag: v3.12-rc1~123^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638a405fb52cfb2e7f559e869dd0291420b9e84d;p=pandora-kernel.git powerpc/pseries: Fix over writing of rtas return code in update_dt_node The rc variable is initially used to store the return code from the ibm,update-properties rtas call which returns 0 or 1 on success. A return code of 1 indicates that ibm,update-properties must be called again for the node. However, the rc variable is overwritten by a call to update_dt_prop which returns 0 on success. This results in ibm,update-properties not being called again for the given node when the rtas call rc was previously 1. Signed-off-by: Tyrel Datwyler Acked-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed