Patch "can: j1939: swap addr and pgn in the send example" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

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

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     can-j1939-swap-addr-and-pgn-in-the-send-example.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit b2dd0f142b6623109f07a346632f1de8470ce607
Author: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
Date:   Thu Oct 22 10:37:08 2020 +0200

    can: j1939: swap addr and pgn in the send example
    
    [ Upstream commit ea780d39b1888ed5afc243c29b23d9bdb3828c7a ]
    
    The address was wrongly assigned to the PGN field and vice versa.
    
    Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20201022083708.8755-1-yegorslists@xxxxxxxxxxxxxx
    Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
    Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst
index f5be243d250a4..4b0db514b2010 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,
 		},
 	};
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux