aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2021-01-11 15:19:24 +0100
committerMarc Kleine-Budde <[email protected]>2021-01-14 08:43:41 +0100
commit99b7beb0431a4b9728023e9169ed15af678d2c7f (patch)
tree769fdd74658e90b5e090ddfb458f674c0deab913 /tools/perf/scripts/python/export-to-sqlite.py
parent652562e5ff06d27b9b83c8166cb71845a55607ad (diff)
can: length: canfd_sanitize_len(): add function to sanitize CAN-FD data length
The data field in CAN-FD frames have specifig frame length (0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64). This function "rounds" up a given length to the next valid CAN-FD frame length. Reviewed-by: Vincent Mailhol <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions