can: j1939: swap addr and pgn in the send example
Subsystems (5)
PATCH 1/1 can: j1939: swap addr and pgn in the send example
From: Yegor Yefremov <[email protected]>
The address was wrongly assigned to the PGN field and vice versa.
Signed-off-by Yegor Yefremov <[email protected]>
--- Documentation/networking/j1939.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/j1939.rst +2 -2
@@ -414,8 +414,8 @@ Send: .can_family = AF_CAN, .can_addr.j1939 = { .name = J1939_NO_NAME; - .pgn = 0x30, - .addr = 0x12300, + .addr = 0x30, + .pgn = 0x12300, }, };
Signature · 1 line
2.17.0
Marc Kleine-Budde
maintainerQuoted 6 lines · On 10/22/20 10:37 AM, [email protected] wrote:
From: Yegor Yefremov <[email protected]>
The address was wrongly assigned to the PGN field and vice versa.
Signed-off-by Yegor Yefremov <[email protected]>---
applied to linux-can/testing
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |