Message ID | 20220727233801.23781-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 707e304dd2e8e169c2a34220b7081649249ec8e7 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [-next] mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c | expand |
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 <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> BTW, next time, please use "net-next" instead of "-next". Thanks
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: 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 <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > 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!
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>
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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- drivers/net/ethernet/mellanox/mlxsw/core_linecard_dev.c | 1 - 1 file changed, 1 deletion(-)