summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-10-22 02:32:30 +0200
committerRob Herring <rob.herring@calxeda.com>2012-11-11 04:53:04 +0100
commit509b7455ef87e1447670c51037cabbf93d772d6f (patch)
tree718e3272e16c80a722bfdb053c39052712289143 /lib/fault-inject.c
parentarm: l2cc: doc: fix device tree example typo (diff)
downloadlinux-509b7455ef87e1447670c51037cabbf93d772d6f.tar.xz
linux-509b7455ef87e1447670c51037cabbf93d772d6f.zip
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 <benh@kernel.crashing.org> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions