Message ID | 20210722112502.24472-1-simon.horman@corigine.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4431531c482a2c05126caaa9fcc5053a4a5c495b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] nfp: fix return statement in nfp_net_parse_meta() | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | warning | 10 maintainers not CCed: lorenzo@kernel.org gustavoars@kernel.org daniel@iogearbox.net apais@linux.microsoft.com andriin@fb.com ast@kernel.org alexanderduyck@fb.com bjorn@kernel.org toke@redhat.com mw@semihalf.com |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Thu, 22 Jul 2021 13:25:02 +0200 you wrote: > From: Niklas Söderlund <niklas.soderlund@corigine.com> > > The return type of the function is bool and while NULL do evaluate to > false it's not very nice, fix this by explicitly returning false. There > is no functional change. > > Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com> > Signed-off-by: Louis Peens <louis.peens@corigine.com> > Signed-off-by: Simon Horman <simon.horman@corigine.com> > > [...] Here is the summary with links: - [net-next] nfp: fix return statement in nfp_net_parse_meta() https://git.kernel.org/netdev/net-next/c/4431531c482a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c index 5dfa4799c34f..ed2ade2a4f04 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c @@ -1697,7 +1697,7 @@ nfp_net_parse_meta(struct net_device *netdev, struct nfp_meta_parsed *meta, case NFP_NET_META_RESYNC_INFO: if (nfp_net_tls_rx_resync_req(netdev, data, pkt, pkt_len)) - return NULL; + return false; data += sizeof(struct nfp_net_tls_resync_req); break; default: