aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Li <[email protected]>2021-03-10 10:01:25 -0600
committerPeter Chen <[email protected]>2021-04-12 20:19:21 +0800
commit575dd7ece61fa93270cb5749708b140a9c9cf947 (patch)
treeaa384ae197c38d05500d925e8f42ccbb4d04e74e /tools/perf/scripts/python
parentef32e0513a130945a08debbbc6d126b54c59fa58 (diff)
usb: cdns3: fix static checker warning.
The patch c450e48eb570: "usb: cdns3: add power lost support for system resume" from Feb 18, 2021, leads to the following static checker warning: drivers/usb/cdns3/core.c:551 cdns_resume() error: uninitialized symbol 'ret'. drivers/usb/cdns3/core.c 544 545 if (!role_changed) { 546 if (cdns->role == USB_ROLE_HOST) 547 ret = cdns_drd_host_on(cdns); 548 else if (cdns->role == USB_ROLE_DEVICE) 549 ret = cdns_drd_gadget_on(cdns); "ret" is uninitialized at else branch. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Frank Li <[email protected]> Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions