* [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
0 siblings, 1 reply; 2+ 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] 2+ 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
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2026-09-05 19:30 UTC | newest]
Thread overview: 2+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox