aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-05 17:01:05 +0300
committerGreg Kroah-Hartman <[email protected]>2023-10-08 07:50:36 +0200
commit0f5aa1b01263b8b621bc4f031a1f2983ef8517b7 (patch)
treecf1f0f24e55b11eadfc43f34361f0dfc4705cc50 /tools/perf/scripts/python
parentb8aaf639b403f01d132c9ac1e906c45debfb0218 (diff)
usb: usbtest: fix a type promotion bug
The "len" here is sometimes negative error codes from usb_get_descriptor(), so we don't want to type promote them to unsigned long. This bug pre-dates the invention of git. Signed-off-by: Dan Carpenter <[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