can: dev: fix type of get_can_dlc() and get_canfd_dlc() macros
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Fri, 2 Oct 2020 15:41:46 +0000 (00:41 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 6 Oct 2020 20:44:27 +0000 (22:44 +0200)
commitf55a52bb2cdbc5a92ca209d0ada90a490a188f58
treed5cc92915a1b645a7af85f7c1dcd8b5e37a3e379
parenteb88531bdbfaafb827192d1fc6c5a3fcc4fadd96
can: dev: fix type of get_can_dlc() and get_canfd_dlc() macros

The macros get_can_dlc() and get_canfd_dlc() are not visible in
userland. As such, type u8 should be preferred over type __u8.

Reference: https://lkml.org/lkml/2020/10/1/708
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20201002154219.4887-3-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/dev.h