]> 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)
commit0f9a0d3d85146d67745dc5a4c39079ae25a9bb78
treef273197a2e009468561643d64ba3a2df5a46f51e
parentdbf4731e710c657ec2aaa3fb1fcb2f79683caf3e
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