summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Fink <pfink@christ-es.de>2021-12-07 21:22:50 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-03-10 11:49:15 +0300
commitc359931d2545173c4328d828643035259a0ba936 (patch)
tree4de2fd994e3f213f6f99aa732142f388945aef17 /tools/perf/scripts/python/export-to-postgresql.py
parente10ab8b394053cedd1329ce1aeb4bb1fda8067f8 (diff)
downloadlinux-c359931d2545173c4328d828643035259a0ba936.tar.xz
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/20220309124132.291861-15-mkl@pengutronix.de Signed-off-by: Peter Fink <pfink@christ-es.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions