From: patchwork-bot+netdevbpf@kernel.org
To: Alexey Kodanev <aleksei.kodanev@bell-sw.com>
Cc: linux-sctp@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH net-next 1/3] sctp: remove unnecessary NULL check in sctp_association_init()
Date: Fri, 21 Oct 2022 05:10:21 +0000 [thread overview]
Message-ID: <166632902185.25874.4878921134477638550.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20221019180735.161388-1-aleksei.kodanev@bell-sw.com>
Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 19 Oct 2022 21:07:33 +0300 you wrote:
> '&asoc->ulpq' passed to sctp_ulpq_init() as the first argument,
> then sctp_qlpq_init() initializes it and eventually returns the
> address of the struct member back. Therefore, in this case, the
> return pointer cannot be NULL.
>
> Moreover, it seems sctp_ulpq_init() has always been used only in
> sctp_association_init(), so there's really no need to return ulpq
> anymore.
>
> [...]
Here is the summary with links:
- [net-next,1/3] sctp: remove unnecessary NULL check in sctp_association_init()
https://git.kernel.org/netdev/net-next/c/6fdfdef7fdb5
- [net-next,2/3] sctp: remove unnecessary NULL check in sctp_ulpq_tail_event()
https://git.kernel.org/netdev/net-next/c/b66aeddbe30c
- [net-next,3/3] sctp: remove unnecessary NULL checks in sctp_enqueue_event()
https://git.kernel.org/netdev/net-next/c/377eb9aab084
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2022-10-21 5:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 18:07 [PATCH net-next 1/3] sctp: remove unnecessary NULL check in sctp_association_init() Alexey Kodanev
2022-10-19 18:07 ` [PATCH net-next 2/3] sctp: remove unnecessary NULL check in sctp_ulpq_tail_event() Alexey Kodanev
2022-10-19 21:26 ` Xin Long
2022-10-19 18:07 ` [PATCH net-next 3/3] sctp: remove unnecessary NULL checks in sctp_enqueue_event() Alexey Kodanev
2022-10-19 21:28 ` Xin Long
2022-10-19 21:25 ` [PATCH net-next 1/3] sctp: remove unnecessary NULL check in sctp_association_init() Xin Long
2022-10-21 5:10 ` patchwork-bot+netdevbpf [this message]
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=166632902185.25874.4878921134477638550.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=aleksei.kodanev@bell-sw.com \
--cc=linux-sctp@vger.kernel.org \
--cc=netdev@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).