diff options
| author | Andrey Shvetsov <[email protected]> | 2017-04-07 15:38:39 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-08 12:41:40 +0200 |
| commit | 5c13155d190464fade0344e16b6341f18af25f1f (patch) | |
| tree | 11433e65b1b9331132922322b70421f9ecaeb6b1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f500192890c7c6745a92b677f5f69e58a2d60715 (diff) | |
staging: most: usb: fix size overflow
Despite the user payload may not be bigger than (2**16 - 1) bytes, the
final packet size may be bigger because of the gap space needed for the
controller.
This patch removes the temporary variables of the type u16 that are used
to hold the offsets that may be bigger than 2**16 bytes.
Signed-off-by: Andrey Shvetsov <[email protected]>
Signed-off-by: Christian Gromm <[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