diff options
| author | Dongjiu Geng <[email protected]> | 2018-06-21 13:19:43 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-25 13:16:27 +0000 |
| commit | 36eb93509c45d0bdbd8d09a01ab9d857972f5963 (patch) | |
| tree | 6316d1dca2a934916d017b11f28a9f228e19cd10 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | xhci: Fix kernel oops in trace_xhci_free_virt_device (diff) | |
| download | kernel-36eb93509c45d0bdbd8d09a01ab9d857972f5963.tar.gz kernel-36eb93509c45d0bdbd8d09a01ab9d857972f5963.zip | |
usb: xhci: remove the code build warning
Initialize the 'err' variate to remove the build warning,
the warning is shown as below:
drivers/usb/host/xhci-tegra.c: In function 'tegra_xusb_mbox_thread':
drivers/usb/host/xhci-tegra.c:552:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
drivers/usb/host/xhci-tegra.c:482:6: note: 'err' was declared here
Fixes: e84fce0f8837 ("usb: xhci: Add NVIDIA Tegra XUSB controller driver")
Signed-off-by: Dongjiu Geng <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
