[Intel-wired-lan] [PATCH net-next] ice: Fix inconsistent indenting in ice_switch

Marcin Szycik marcin.szycik at linux.intel.com
Mon Mar 14 16:43:14 UTC 2022


From: Wojciech Drewek <wojciech.drewek at intel.com>

Commit 9a225f81f540("ice: Support GTP-U and GTP-C offload in switchdev")
introduced this issue.

Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
Reported-by: kernel test robot <lkp at intel.com>
---
There is no "Fixes" tag because patch that caused the
issue is not present in net yet.
---
 drivers/net/ethernet/intel/ice/ice_switch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c
index 7f3d97595890..25b8f6f726eb 100644
--- a/drivers/net/ethernet/intel/ice/ice_switch.c
+++ b/drivers/net/ethernet/intel/ice/ice_switch.c
@@ -5565,7 +5565,7 @@ ice_find_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,
 					*offsets = dummy_ipv6_gtpu_ipv4_udp_packet_offsets;
 				} else {
 					*pkt = dummy_ipv6_gtpu_ipv4_tcp_packet;
-				*pkt_len = sizeof(dummy_ipv6_gtpu_ipv4_tcp_packet);
+					*pkt_len = sizeof(dummy_ipv6_gtpu_ipv4_tcp_packet);
 					*offsets = dummy_ipv6_gtpu_ipv4_tcp_packet_offsets;
 				}
 			}
-- 
2.35.1



More information about the Intel-wired-lan mailing list