aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2022-01-12 06:32:37 +0100
committerGreg Kroah-Hartman <[email protected]>2022-01-26 13:59:20 +0100
commit03db9289b5ab59437e42a111a34545a7cedb5190 (patch)
tree29a9f29d48d2fd7b898dfa35d6635f045c750609 /tools/perf/scripts/python
parenta102f07e4edf0f1cf06bf9825ab10e26a29dd945 (diff)
usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
Variable ret in function cdnsp_decode_trb is initialized but not used. To fix this compiler warning patch adds checking whether the data buffer has not been overflowed. Reported-by: kernel test robot <[email protected]> Signed-off-by: Pawel Laszczak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions