projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864a275
)
can: j1939: swap addr and pgn in the send example
author
Yegor Yefremov
<yegorslists@googlemail.com>
Thu, 22 Oct 2020 08:37:08 +0000
(10:37 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 3 Nov 2020 21:30:31 +0000
(22:30 +0100)
The address was wrongly assigned to the PGN field and vice versa.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Link:
https://lore.kernel.org/r/20201022083708.8755-1-yegorslists@googlemail.com
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Documentation/networking/j1939.rst
patch
|
blob
|
history
diff --git
a/Documentation/networking/j1939.rst
b/Documentation/networking/j1939.rst
index be59fcece3bf37afd8a1d23d9acb31e86023dd0a..faf2eb5c50520a75a150082c00f98dc62a9518aa 100644
(file)
--- a/
Documentation/networking/j1939.rst
+++ b/
Documentation/networking/j1939.rst
@@
-414,8
+414,8
@@
Send:
.can_family = AF_CAN,
.can_addr.j1939 = {
.name = J1939_NO_NAME;
- .
pgn
= 0x30,
- .
addr
= 0x12300,
+ .
addr
= 0x30,
+ .
pgn
= 0x12300,
},
};