]> git.baikalelectronics.ru Git - kernel.git/commit
of: fix handling of '/' in options for of_find_node_by_path()
authorLeif Lindholm <leif.lindholm@linaro.org>
Fri, 6 Mar 2015 16:52:53 +0000 (16:52 +0000)
committerRob Herring <robh@kernel.org>
Tue, 10 Mar 2015 15:34:35 +0000 (10:34 -0500)
commit87bdb2da5cd88e5f0436a431996936fd6fe7e75e
tree00856969bfbf6f95206d2265d0788bfb02650294
parent6e45e19684eea4ee350069ca4d898d047b4116f3
of: fix handling of '/' in options for of_find_node_by_path()

Ensure proper handling of paths with appended options (after ':'),
where those options may contain a '/'.

Fixes: dc13189d59eb ("of: support passing console options with stdout-path")
Reported-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Cc: <stable@vger.kernel.org> # 3.19
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c