Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d0f347d6 authored by David Dueck's avatar David Dueck Committed by Felipe Balbi
Browse files

usb: phy: am335x-control: check return value of bus_find_device



This fixes a potential null pointer dereference.

Cc: <stable@vger.kernel.org> # v3.16+
Fixes: d4332013 ("driver core: dev_get_drvdata: Don't check for NULL dev")
Acked-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarDavid Dueck <davidcdueck@googlemail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 509d612b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment