aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-09-22 15:58:31 -0500
committerGreg Kroah-Hartman <[email protected]>2016-09-23 12:26:07 +0200
commit984f3be5910c640bbff469bb3d4679036fce6395 (patch)
treee278cea842f04d43d0cd8b69110225b9949d93fb /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2b9a8c40836930a45f42f06f98731eb9614ba86b (diff)
usb: musb: da8xx: fix error handling message in probe
We print an error message when platform_device_register_full() fails, but the initialization of the argument has been removed, as shown in this warning: drivers/usb/musb/da8xx.c: In function 'da8xx_probe': drivers/usb/musb/da8xx.c:521:3: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized] This modifies the function to assign the return code before checking it, and does uses the same method in the check for usb_phy_generic_register() as well. Fixes: 947c49afe41f ("usb: musb: da8xx: Remove mach code") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions