summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-11-17 10:49:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-17 15:05:18 +0100
commitd4d2e5329ae9dfd6742c84d79f7d143d10410f1b (patch)
tree2de0734b89afdc9741df9dc28a3f9c02c5974d29 /tools/perf/scripts/python/exported-sql-viewer.py
parent6ae6dc22d2d1ce6aa77a6da8a761e61aca216f8b (diff)
usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
If the first call to devm_usb_get_phy_by_phandle(dev, "fsl,usbphy", 0) fails with something other than -ENODEV then it leads to an error pointer dereference. For those errors we should just jump directly to the error handling. Fixes: 8253a34bfae3 ("usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle") Cc: stable <stable@vger.kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211117074923.GF5237@kili Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions