]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/pseries: Correct buffer parsing in update_dt_node()
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 24 Apr 2013 05:49:36 +0000 (05:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:19 +0000 (16:08 +1000)
commit2e9b7b02a3bbe5070495bce7107ea3d1d8c3ef65
treef273197a2e009468561643d64ba3a2df5a46f51e
parent762ec15707518ad06531841df73ded857886f253
powerpc/pseries: Correct buffer parsing in update_dt_node()

Correct parsing of the buffer returned from ibm,update-properties. The first
element is a length and the path to the property which is slightly different
from the list of properties in the buffer so we need to specifically
handle this.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/mobility.c