Message ID | 20210327043339.148050-1-liujian56@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 54422bd436e084e6c74aff6026c1767f1570ab26 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: hns3: no return statement in hclge_clear_arfs_rules | 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 | 1 maintainers not CCed: davem@davemloft.net |
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, 9 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 Sat, 27 Mar 2021 12:33:39 +0800 you wrote: > From: Liu Jian <liujian56@huawei.com> > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_clear_arfs_rules': > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:7173:1: error: no return statement in function returning non-void [-Werror=return-type] > 7173 | } > | ^ > cc1: some warnings being treated as errors > make[6]: *** [scripts/Makefile.build:273: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.o] Error 1 > make[5]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon/hns3/hns3pf] Error 2 > make[4]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon/hns3] Error 2 > make[4]: *** Waiting for unfinished jobs.... > make[3]: *** [scripts/Makefile.build:534: drivers/net/ethernet/hisilicon] Error 2 > make[2]: *** [scripts/Makefile.build:534: drivers/net/ethernet] Error 2 > make[1]: *** [scripts/Makefile.build:534: drivers/net] Error 2 > make[1]: *** Waiting for unfinished jobs.... > make: *** [Makefile:1980: drivers] Error 2 > > [...] Here is the summary with links: - [net-next] net: hns3: no return statement in hclge_clear_arfs_rules https://git.kernel.org/netdev/net-next/c/54422bd436e0 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/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index 058317ce579c..84c70974c80b 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c @@ -7168,8 +7168,8 @@ static int hclge_clear_arfs_rules(struct hclge_dev *hdev) } hclge_sync_fd_state(hdev); - return 0; #endif + return 0; } static void hclge_get_cls_key_basic(const struct flow_rule *flow,