diff options
author | Johan Hovold <johan@kernel.org> | 2017-11-11 16:31:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 15:17:48 +0100 |
commit | 33c309ebc797b908029fd3a0851aefe697e9b598 (patch) | |
tree | 7805e2471a8d44fca4b9cc679a9bc9b2c2bed5f3 /init/version.c | |
parent | USB: usbfs: Filter flags passed in from user space (diff) | |
download | linux-33c309ebc797b908029fd3a0851aefe697e9b598.tar.xz linux-33c309ebc797b908029fd3a0851aefe697e9b598.zip |
USB: ulpi: fix bus-node lookup
Fix bus-node lookup during registration, which ended up searching the whole
device tree depth-first starting at the parent (or grand parent) rather
than just matching on its children.
To make things worse, the parent (or grand-parent) node could end being
prematurely freed as well.
Fixes: ef6a7bcfb01c ("usb: ulpi: Support device discovery via DT")
Reported-by: Peter Robinson <pbrobinson@gmail.com>
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: stable <stable@vger.kernel.org> # 4.10
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions