OSDN Git Service

ice: Fix inconsistent indenting in ice_switch
authorWojciech Drewek <wojciech.drewek@intel.com>
Mon, 14 Mar 2022 16:43:14 +0000 (17:43 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 16 Mar 2022 17:26:43 +0000 (10:26 -0700)
Fix the following warning as reported by smatch:

smatch warnings:
drivers/net/ethernet/intel/ice/ice_switch.c:5568 ice_find_dummy_packet() warn: inconsistent indenting

Fixes: 9a225f81f540 ("ice: Support GTP-U and GTP-C offload in switchdev")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_switch.c

index 7f3d975..25b8f6f 100644 (file)
@@ -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;
                                }
                        }