* [PATCH v2 0/1] net/mlx5: Remove duplicated header file inclusion
@ 2021-04-06 8:58 Zhen Lei
2021-04-06 8:58 ` [PATCH v2 1/1] " Zhen Lei
0 siblings, 1 reply; 2+ messages in thread
From: Zhen Lei @ 2021-04-06 8:58 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky, David S . Miller,
Jakub Kicinski, netdev, linux-rdma, linux-kernel
Cc: Zhen Lei
v1 --> v2:
Arrange all included header files in alphabetical order.
Zhen Lei (1):
net/mlx5: Remove duplicated header file inclusion
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
--
1.8.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 1/1] net/mlx5: Remove duplicated header file inclusion
2021-04-06 8:58 [PATCH v2 0/1] net/mlx5: Remove duplicated header file inclusion Zhen Lei
@ 2021-04-06 8:58 ` Zhen Lei
0 siblings, 0 replies; 2+ messages in thread
From: Zhen Lei @ 2021-04-06 8:58 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky, David S . Miller,
Jakub Kicinski, netdev, linux-rdma, linux-kernel
Cc: Zhen Lei
Delete one of the header files "esw/indir_table.h" that are included
twice, all included header files are then rearranged alphabetically.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
index 8694b83968b4c4f..e8307f5eae4cb6a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
@@ -33,21 +33,20 @@
#include <linux/etherdevice.h>
#include <linux/idr.h>
#include <linux/mlx5/driver.h>
+#include <linux/mlx5/fs.h>
#include <linux/mlx5/mlx5_ifc.h>
#include <linux/mlx5/vport.h>
-#include <linux/mlx5/fs.h>
-#include "mlx5_core.h"
-#include "eswitch.h"
-#include "esw/indir_table.h"
+#include "en.h"
+#include "en_tc.h"
#include "esw/acl/ofld.h"
#include "esw/indir_table.h"
-#include "rdma.h"
-#include "en.h"
+#include "eswitch.h"
#include "fs_core.h"
#include "lib/devcom.h"
#include "lib/eq.h"
#include "lib/fs_chains.h"
-#include "en_tc.h"
+#include "mlx5_core.h"
+#include "rdma.h"
/* There are two match-all miss flows, one for unicast dst mac and
* one for multicast.
--
1.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-06 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 8:58 [PATCH v2 0/1] net/mlx5: Remove duplicated header file inclusion Zhen Lei
2021-04-06 8:58 ` [PATCH v2 1/1] " Zhen Lei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).