git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007890d
)
can: janz-ican3: cleanup of ican3_to_can_frame and can_frame_to_ican3
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 21 Oct 2010 16:39:26 +0000
(18:39 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Fri, 20 Jul 2012 15:48:53 +0000
(17:48 +0200)
This patch cleans up the ICAN3 to Linux CAN frame and vice versa
conversion functions:
- RX: Use get_can_dlc() to limit the dlc value.
- RX+TX: Don't copy the whole frame, only copy the amount of bytes
specified in cf->can_dlc.
Acked-by: Ira W. Snyder <iws@ovro.caltech.edu>
Tested-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c
patch
|
blob
|
history
diff --cc
drivers/net/can/janz-ican3.c
Simple merge