From 51e588c515594386bd52f05c050ee07b182f8284 Mon Sep 17 00:00:00 2001 From: josemic Date: Wed, 27 Nov 2019 22:47:32 +0100 Subject: [PATCH] Update j1939.rst [networking/j1939.rst](https://github.com/torvalds/linux/blob/master/Documentation/networking/j1939.rst) referes to J1939_PGN_ADDRESS_REQUEST, however "j1939.h" defines only: #define J1939_PGN_REQUEST 0x0ea00 There was once a patch changing the define "J1939_PGN_REQUEST" to "J1939_PGN_ADDRESS_REQUEST". However this patch had been rejected. Still the documentation [networking/j1939.rst](https://github.com/torvalds/linux/blob/master/Documentation/networking/j1939.rst) had been written as if this patch had been applied: [Link to patch](https://marc.info/?l=linux-can&m=155491812521734&w=2) --- 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 dc60b13fcd0965..f5be243d250a40 100644 --- a/Documentation/networking/j1939.rst +++ b/Documentation/networking/j1939.rst @@ -339,7 +339,7 @@ To claim an address following code example can be used: .pgn = J1939_PGN_ADDRESS_CLAIMED, .pgn_mask = J1939_PGN_PDU1_MAX, }, { - .pgn = J1939_PGN_ADDRESS_REQUEST, + .pgn = J1939_PGN_REQUEST, .pgn_mask = J1939_PGN_PDU1_MAX, }, { .pgn = J1939_PGN_ADDRESS_COMMANDED,