* [PATCH AUTOSEL 5.10 3/6] can: j1939: fix error in J1939 documentation.
[not found] <20241112103803.1654174-1-sashal@kernel.org>
@ 2024-11-12 10:37 ` Sasha Levin
2024-12-02 11:59 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2024-11-12 10:37 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Alexander Hölzl, Oleksij Rempel, Vincent Mailhol,
Marc Kleine-Budde, Sasha Levin, robin, davem, edumazet, kuba,
pabeni, corbet, linux-can, netdev, linux-doc
From: Alexander Hölzl <alexander.hoelzl@gmx.net>
[ Upstream commit b6ec62e01aa4229bc9d3861d1073806767ea7838 ]
The description of PDU1 format usage mistakenly referred to PDU2 format.
Signed-off-by: Alexander Hölzl <alexander.hoelzl@gmx.net>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/20241023145257.82709-1-alexander.hoelzl@gmx.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
Documentation/networking/j1939.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst
index 0a4b73b03b997..59f81ba411608 100644
--- a/Documentation/networking/j1939.rst
+++ b/Documentation/networking/j1939.rst
@@ -83,7 +83,7 @@ format, the Group Extension is set in the PS-field.
On the other hand, when using PDU1 format, the PS-field contains a so-called
Destination Address, which is _not_ part of the PGN. When communicating a PGN
-from user space to kernel (or vice versa) and PDU2 format is used, the PS-field
+from user space to kernel (or vice versa) and PDU1 format is used, the PS-field
of the PGN shall be set to zero. The Destination Address shall be set
elsewhere.
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH AUTOSEL 5.10 3/6] can: j1939: fix error in J1939 documentation.
2024-11-12 10:37 ` [PATCH AUTOSEL 5.10 3/6] can: j1939: fix error in J1939 documentation Sasha Levin
@ 2024-12-02 11:59 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2024-12-02 11:59 UTC (permalink / raw)
To: Sasha Levin
Cc: linux-kernel, stable, Alexander Hölzl, Oleksij Rempel,
Vincent Mailhol, Marc Kleine-Budde, robin, davem, edumazet, kuba,
pabeni, corbet, linux-can, netdev, linux-doc
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
Hi!
> From: Alexander Hölzl <alexander.hoelzl@gmx.net>
>
> [ Upstream commit b6ec62e01aa4229bc9d3861d1073806767ea7838 ]
>
> The description of PDU1 format usage mistakenly referred to PDU2
> format.
I'm pretty sure this does not fix user-visible bug.
BR,
Pavel
> Signed-off-by: Alexander Hölzl <alexander.hoelzl@gmx.net>
> Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Acked-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
> Link: https://patch.msgid.link/20241023145257.82709-1-alexander.hoelzl@gmx.net
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
> Documentation/networking/j1939.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst
> index 0a4b73b03b997..59f81ba411608 100644
> --- a/Documentation/networking/j1939.rst
> +++ b/Documentation/networking/j1939.rst
> @@ -83,7 +83,7 @@ format, the Group Extension is set in the PS-field.
>
> On the other hand, when using PDU1 format, the PS-field contains a so-called
> Destination Address, which is _not_ part of the PGN. When communicating a PGN
> -from user space to kernel (or vice versa) and PDU2 format is used, the PS-field
> +from user space to kernel (or vice versa) and PDU1 format is used, the PS-field
> of the PGN shall be set to zero. The Destination Address shall be set
> elsewhere.
>
--
People of Russia, stop Putin before his war on Ukraine escalates.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-02 11:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20241112103803.1654174-1-sashal@kernel.org>
2024-11-12 10:37 ` [PATCH AUTOSEL 5.10 3/6] can: j1939: fix error in J1939 documentation Sasha Levin
2024-12-02 11:59 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).