[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168698702041.21379.18026446028173220224.git-patchwork-notify@kernel.org>
Date: Sat, 17 Jun 2023 07:30:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Lin Ma <linma@....edu.cn>
Cc: jk@...econstruct.com.au, matt@...econstruct.com.au, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v1] net: mctp: remove redundant RTN_UNICAST check
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 15 Jun 2023 23:22:40 +0800 you wrote:
> Current mctp_newroute() contains two exactly same check against
> rtm->rtm_type
>
> static int mctp_newroute(...)
> {
> ...
> if (rtm->rtm_type != RTN_UNICAST) { // (1)
> NL_SET_ERR_MSG(extack, "rtm_type must be RTN_UNICAST");
> return -EINVAL;
> }
> ...
> if (rtm->rtm_type != RTN_UNICAST) // (2)
> return -EINVAL;
> ...
> }
>
> [...]
Here is the summary with links:
- [v1] net: mctp: remove redundant RTN_UNICAST check
https://git.kernel.org/netdev/net-next/c/f60ce8a48b97
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists