]> 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)
commitf611da68c65850f4d0c651386146ef548cb4a7a9
tree00856969bfbf6f95206d2265d0788bfb02650294
parent53ccdc74c5d9519ede8b4e0134459de75f6f2e1a
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: 9084b1326985 ("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