]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: slcan: Replace sizeof struct can_frame with CAN_MTU
authorMarek Vasut <marex@denx.de>
Thu, 9 Jun 2016 19:21:00 +0000 (21:21 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 17 Jun 2016 13:39:42 +0000 (15:39 +0200)
commit21aedfdf092b0ceaf717e89495505052f8346362
tree014d74bb9feda44a4d8803eb1e6abb84dded71a5
parent7da29f97d6c816f5f95f964f4ced0dae14968cce
can: slcan: Replace sizeof struct can_frame with CAN_MTU

Use CAN_MTU macro instead of sizeof(struct can_frame) just like the
other drivers do.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/slcan.c