Message ID | 20210430031047.34888-1-wanjiabing@vivo.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f18c51b6513c6bd39c834855e3ccaec52c150c84 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: stmmac: Remove duplicate declaration of stmmac_priv | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Guessed tree name to be net-next |
netdev/subject_prefix | warning | Target tree name not specified in the subject |
netdev/cc_maintainers | success | CCed 9 of 9 maintainers |
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: 22 this patch: 22 |
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, 7 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 22 this patch: 22 |
netdev/header_inline | success | Link |
On Fri, Apr 30, 2021 at 11:10:47AM +0800, Wan Jiabing wrote: > In commit f4da56529da60 ("net: stmmac: Add support for external > trigger timestamping"), struct stmmac_priv was declared at line 507 > which caused duplicate struct declarations. > Remove later duplicate declaration here. > > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 30 Apr 2021 11:10:47 +0800 you wrote: > In commit f4da56529da60 ("net: stmmac: Add support for external > trigger timestamping"), struct stmmac_priv was declared at line 507 > which caused duplicate struct declarations. > Remove later duplicate declaration here. > > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> > > [...] Here is the summary with links: - net: stmmac: Remove duplicate declaration of stmmac_priv https://git.kernel.org/netdev/net/c/f18c51b6513c 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/stmicro/stmmac/hwif.h b/drivers/net/ethernet/stmicro/stmmac/hwif.h index 2cc91759b91f..6d5e0f2b03ce 100644 --- a/drivers/net/ethernet/stmicro/stmmac/hwif.h +++ b/drivers/net/ethernet/stmicro/stmmac/hwif.h @@ -564,7 +564,6 @@ struct stmmac_mode_ops { #define stmmac_clean_desc3(__priv, __args...) \ stmmac_do_void_callback(__priv, mode, clean_desc3, __args) -struct stmmac_priv; struct tc_cls_u32_offload; struct tc_cbs_qopt_offload; struct flow_cls_offload;
In commit f4da56529da60 ("net: stmmac: Add support for external trigger timestamping"), struct stmmac_priv was declared at line 507 which caused duplicate struct declarations. Remove later duplicate declaration here. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> --- drivers/net/ethernet/stmicro/stmmac/hwif.h | 1 - 1 file changed, 1 deletion(-)