diff options
| author | Peter Fink <[email protected]> | 2021-12-07 19:22:50 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2022-03-10 09:49:15 +0100 |
| commit | c359931d2545173c4328d828643035259a0ba936 (patch) | |
| tree | 4de2fd994e3f213f6f99aa732142f388945aef17 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e10ab8b394053cedd1329ce1aeb4bb1fda8067f8 (diff) | |
can: gs_usb: use union and FLEX_ARRAY for data in struct gs_host_frame
Modify struct gs_host_frame to make use of a union and
DECLARE_FLEX_ARRAY to be able to store different data (lengths), which
will be added in later commits.
Store the gs_host_frame length in TX direction (host -> device) in
struct gs_can::hf_size_tx and RX direction (device -> host) in struct
gs_usb::hf_size_rx so it must be calculated only once.
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Peter Fink <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions