From: Yegor Yefremov Date: Thu, 22 Oct 2020 08:37:08 +0000 (+0200) Subject: can: j1939: swap addr and pgn in the send example X-Git-Tag: v5.10-rc3~30^2~2^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea780d39b1888ed5afc243c29b23d9bdb3828c7a;p=thirdparty%2Fkernel%2Flinux.git can: j1939: swap addr and pgn in the send example The address was wrongly assigned to the PGN field and vice versa. Signed-off-by: Yegor Yefremov 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 --- diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst index be59fcece3bf3..faf2eb5c50520 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, }, };