Skip to contentSkip to conversation

docs: phonet: Fix the struct sockaddr_pn name in the example

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 5 – Sep 8

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
---
 Documentation/networking/phonet.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/phonet.rst +1 -1
index d705cc5b09fc..e5551fc45c78 100644
@@ -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
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Karl Mehltretter

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

thanks.

Quoted 17 lines
---
 Documentation/networking/phonet.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/phonet.rst +1 -1
index d705cc5b09fc..e5551fc45c78 100644
@@ -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
#2 lore raw
In reply to Karl Mehltretter
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_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

[...]

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