2022-07-28 00:06:22

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

Fix following includecheck warning:
./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c b/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
index 49fee038a99c..af37e650a8ad 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c
@@ -5,7 +5,6 @@
#include <linux/module.h>
#include <linux/err.h>
#include <linux/types.h>
-#include <linux/err.h>
#include <linux/auxiliary_bus.h>
#include <linux/idr.h>
#include <linux/gfp.h>
--
2.20.1.7.g153144c


2022-07-28 07:05:52

by Ido Schimmel

[permalink] [raw]
Subject: Re: [PATCH -next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

On Thu, Jul 28, 2022 at 07:38:01AM +0800, Yang Li wrote:
> Fix following includecheck warning:
> ./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>

Reviewed-by: Ido Schimmel <[email protected]>

BTW, next time, please use "net-next" instead of "-next".

Thanks

2022-07-29 05:53:44

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH -next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email protected]>:

On Thu, 28 Jul 2022 07:38:01 +0800 you wrote:
> Fix following includecheck warning:
> ./drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c: linux/err.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- [-next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c
https://git.kernel.org/netdev/net-next/c/707e304dd2e8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html