docs: phonet: Fix the struct sockaddr_pn name in the example
Subsystems (4)
PATCH 1/1 docs: phonet: Fix the struct sockaddr_pn name in the example
struct sockaddr_spn does not exist; the name is struct sockaddr_pn.
Use struct sockaddr_pn.
Fixes 297edb600326 ("Phonet: support active connection without pipe controller on modem")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- Documentation/networking/phonet.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/phonet.rst +1 -1
@@ -172,7 +172,7 @@ two endpoints directly, using connect() on the active side. This is intended to support the newer Nokia Wireless Modem API, as found in e.g. the Nokia Slim Modem in the ST-Ericsson U8500 platform:: - struct sockaddr_spn spn; + struct sockaddr_pn spn; int fd; fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
Signature · 1 line
2.53.0
Quoted 7 lines · Karl Mehltretter
struct
sockaddr_spndoes not exist; the name is structsockaddr_pn.Use struct
sockaddr_pn.Fixes 297edb600326 ("Phonet: support active connection without pipe controller on modem")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Acked-by Randy Dunlap <[email protected]>
thanks.
Quoted 17 lines
--- Documentation/networking/phonet.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/networking/phonet.rst +1
-1@@ -172,7 +172,7 @@ two endpoints directly, using connect() on the active side. This is intended to support the newer Nokia Wireless Modem API, as found in e.g. the Nokia Slim Modem in the ST-Ericsson U8500 platform:: - struct sockaddr_spn spn; + struct sockaddr_pn spn; int fd; fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
Signature · 1 line
~Randy
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Sat, 5 Sep 2026 12:41:23 +0200 you wrote:
struct
sockaddr_spndoes not exist; the name is structsockaddr_pn.Use struct
sockaddr_pn.Fixes 297edb600326 ("Phonet: support active connection without pipe controller on modem")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>[...]
Here is the summary with links:
- [net-next] docs: phonet: Fix the struct sockaddr_pn name in the example
https://git.kernel.org/netdev/net-next/c/413999d2e588
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html