diff options
author | 2014-04-15 07:58:15 +0200 | |
---|---|---|
committer | 2014-04-16 10:11:47 -0500 | |
commit | 9dc9cb0c9ad0f999e29ce4c4f307cd2abbe752d3 (patch) | |
tree | d5a2035c66129022df6981e1e1d1b67f3400cd1d /tools/perf/scripts/python/syscall-counts.py | |
parent | usb: gadget: rndis: Include "u_rndis.h" (diff) | |
download | linux-dev-9dc9cb0c9ad0f999e29ce4c4f307cd2abbe752d3.tar.xz linux-dev-9dc9cb0c9ad0f999e29ce4c4f307cd2abbe752d3.zip |
usb: phy: return an error in usb_get_phy() if try_module_get() fails
In case we found a matching USB PHY in usb_get_phy() but the call to
try_module_get() fails, we shouldn't return a (probably soon dangling)
pointer but an ERR_PTR instead.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions