From: Randy Dunlap <rdunlap@infradead.org>
To: "Karl Mehltretter" <kmehltretter@gmail.com>,
"Rémi Denis-Courmont" <courmisch@gmail.com>
Cc: netdev@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org, Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH net-next] docs: phonet: Fix the struct sockaddr_pn name in the example
Date: Sat, 5 Sep 2026 12:30:56 -0700 [thread overview]
Message-ID: <7826de5b-c3d1-4f09-991a-2943e5dbef15@infradead.org> (raw)
In-Reply-To: <20260905104123.43511-1-kmehltretter@gmail.com>
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
next prev parent reply other threads:[~2026-09-05 19:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
2026-09-08 23:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7826de5b-c3d1-4f09-991a-2943e5dbef15@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=courmisch@gmail.com \
--cc=kmehltretter@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox