diff options
| author | Sergey Shtylyov <[email protected]> | 2022-02-17 20:30:13 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-24 11:19:18 +0100 |
| commit | c6c986b657e55910746ea0f41e1aee0696833c7a (patch) | |
| tree | 85393a3de8d96224cb0ec0fbf2c9e972858c2aea /tools/perf/scripts/python/bin | |
| parent | a5d847b0afd317df1ed0e3b72fbef72ce4824532 (diff) | |
usb: host: ehci-q: make qtd_fill() return *unsigned int*
At the end of qtd_fill(), we assign the 'int count' variable to the 'size_t
length' field of 'struct ehci_qtd' -- which implies a problematic type cast.
Let's make that variable and the function's result *unsigned int* instead...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Sergey Shtylyov <[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/bin')
0 files changed, 0 insertions, 0 deletions