From: Benjamin Herrenschmidt Date: Mon, 22 Oct 2012 00:32:30 +0000 (+1100) Subject: of/fdt: Don't copy garbage after "/" in root node path X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~89^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509b7455ef87e1447670c51037cabbf93d772d6f;p=pandora-kernel.git of/fdt: Don't copy garbage after "/" in root node path The root node path must be internally converted to "/", or various pieces of code looking for it that way will fail. The code to do that however had a bug where we might incorrectly append pieces of the original path from the fdt to the "/". We should probably add a proper dedicated accessor for the root node but in the meantime this patch should fix it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Rob Herring --- Reading git-diff-tree failed