]> git.baikalelectronics.ru Git - kernel.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)
commit3dc3274596807d5aca9a14c250905cfbf3d82fee
treef273197a2e009468561643d64ba3a2df5a46f51e
parentdcb71ac1a4e491135feb31940da03157c07066b7
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