diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2020-11-10 13:18:46 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-20 11:43:29 +0300 |
commit | 69d98969a0540039fc04e0f22bbe9f41b0a13d66 (patch) | |
tree | caf7410d6dd6ec78a672734a095c754d2a540156 /include/linux/can/dev/peak_canfd.h | |
parent | ea7800565a128c1adafa1791ce80afd6016fe21c (diff) | |
download | linux-69d98969a0540039fc04e0f22bbe9f41b0a13d66.tar.xz |
can: rename get_can_dlc() macro with can_cc_dlc2len()
The get_can_dlc() macro is used to ensure the payload length information of
the Classical CAN frame to be max 8 bytes (the CAN_MAX_DLEN).
Rename the macro and use the correct constant in preparation of the len/dlc
cleanup for Classical CAN frames.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20201110101852.1973-3-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can/dev/peak_canfd.h')
0 files changed, 0 insertions, 0 deletions