2022-03-16 02:29:17

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] ice: clean up one inconsistent indenting

Eliminate the follow smatch warning:
drivers/net/ethernet/intel/ice/ice_switch.c:5568 ice_find_dummy_packet()
warn: inconsistent indenting

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
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.20.1.7.g153144c


2022-03-17 05:08:52

by Jesse Brandeburg

[permalink] [raw]
Subject: Re: [PATCH -next] ice: clean up one inconsistent indenting

On 3/15/2022 5:03 PM, Yang Li wrote:
> Eliminate the follow smatch warning:
> drivers/net/ethernet/intel/ice/ice_switch.c:5568 ice_find_dummy_packet()
> warn: inconsistent indenting
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>

Thanks but this patch has already been submitted on intel-wired-lan, as
it was already reported by the kernel test robot.

https://patchwork.ozlabs.org/project/intel-wired-lan/patch/[email protected]/

As well, the other inconsistent indent patch is also fixed at
https://patchwork.ozlabs.org/project/intel-wired-lan/patch/[email protected]/

They will probably be sent to net-next tomorrow in the PDT timezone.

Thanks!