Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example
@ 2026-09-05 10:41 Karl Mehltretter
  2026-09-05 19:30 ` Randy Dunlap
  2026-09-08 23:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-05 10:41 UTC (permalink / raw)
  To: Rémi Denis-Courmont
  Cc: Karl Mehltretter, netdev, Jonathan Corbet, linux-doc, Shuah Khan,
	Randy Dunlap

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 <kmehltretter@gmail.com>
---
 Documentation/networking/phonet.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/networking/phonet.rst b/Documentation/networking/phonet.rst
index d705cc5b09fc..e5551fc45c78 100644
--- a/Documentation/networking/phonet.rst
+++ b/Documentation/networking/phonet.rst
@@ -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);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example
  2026-09-05 10:41 [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example Karl Mehltretter
@ 2026-09-05 19:30 ` Randy Dunlap
  2026-09-08 23:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-05 19:30 UTC (permalink / raw)
  To: Karl Mehltretter, Rémi Denis-Courmont
  Cc: netdev, Jonathan Corbet, linux-doc, Shuah Khan



On 9/5/26 3:41 AM, Karl Mehltretter 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
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.

> ---
>  Documentation/networking/phonet.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/networking/phonet.rst b/Documentation/networking/phonet.rst
> index d705cc5b09fc..e5551fc45c78 100644
> --- a/Documentation/networking/phonet.rst
> +++ b/Documentation/networking/phonet.rst
> @@ -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);

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example
  2026-09-05 10:41 [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example Karl Mehltretter
  2026-09-05 19:30 ` Randy Dunlap
@ 2026-09-08 23:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-09-08 23:50 UTC (permalink / raw)
  To: Karl Mehltretter; +Cc: courmisch, netdev, corbet, linux-doc, skhan, rdunlap

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

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
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-08 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 10:41 [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example Karl Mehltretter
2026-09-05 19:30 ` Randy Dunlap
2026-09-08 23:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox