Thread (3 messages) 3 messages, 3 authors, 28d ago

Re: [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example

flat view

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2026-09-05 19:30:57
Also in: linux-doc


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 <redacted>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.
quoted hunk ↗ jump to hunk
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help