diff mbox series

can: j1939: swap addr and pgn in the send example

Message ID 20201022083708.8755-1-yegorslists@googlemail.com
State Awaiting Upstream
Delegated to: David Miller
Headers show
Series can: j1939: swap addr and pgn in the send example | expand

Checks

Context Check Description
jkicinski/tree_selection success Not a local patch

Commit Message

Yegor Yefremov Oct. 22, 2020, 8:37 a.m. UTC
From: Yegor Yefremov <yegorslists@googlemail.com>

The address was wrongly assigned to the PGN field and vice versa.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 Documentation/networking/j1939.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Marc Kleine-Budde Oct. 22, 2020, 8:41 a.m. UTC | #1
On 10/22/20 10:37 AM, yegorslists@googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> The address was wrongly assigned to the PGN field and vice versa.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---

applied to linux-can/testing

Marc
diff mbox series

Patch

diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst
index be59fcece3bf..faf2eb5c5052 100644
--- 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,
 		},
 	};