]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
can: j1939: swap addr and pgn in the send example
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 22 Oct 2020 08:37:08 +0000 (10:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:22:05 +0000 (19:22 +0100)
commitf210a960e01f7a838a491e849bf8eb208c2350ee
tree4ff6c12082fb3016329cdb5adf23a987701de885
parent0b44ba8d3bdaffe90bf70a2eaf52b5a391c29f92
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@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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/networking/j1939.rst