From patchwork Wed Mar 16 20:40:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Nguyen X-Patchwork-Id: 12783172 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 876FFC433EF for ; Wed, 16 Mar 2022 20:40:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353564AbiCPUlT (ORCPT ); Wed, 16 Mar 2022 16:41:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351973AbiCPUlQ (ORCPT ); Wed, 16 Mar 2022 16:41:16 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F93153E3A for ; Wed, 16 Mar 2022 13:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647463202; x=1678999202; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=D+bXhoObKR8RA49TlQjRJ+fhTTXziVSIS7lZGcgBWPM=; b=UlRPgCS/xthAGK3x/mqb/SmVlQHPZiEx63yFqb7SN017hqXVhisCu3A5 W8ALlbNkvxJBmU2779nzIEeGT4bVe9tYG4YohV5sPP1zGfRWW/5NbI3AH Qtpv+996ISF5IvxvCMmb6fEUfD2by3Y1i+XToJGx1NsjVpdGicP995cU5 0wkTm0CwlCQSIuevP5TG0WYJQvp1Cfgf2rhIflZ9l0IhwIZXc2h5QL67U S1c76tqwlXzTcavIzaOZe1Pf4gsnQFggUlTz8LxmvwmnYt4IL9UGTZ4sk 2HiuDG1hISVY2/zNwYLV2rGzo6HrB58OeFPD9n9e+2ClgBVqDBbD1a1Ym Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10288"; a="236653297" X-IronPort-AV: E=Sophos;i="5.90,187,1643702400"; d="scan'208";a="236653297" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 13:40:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,187,1643702400"; d="scan'208";a="646799211" Received: from anguy11-desk2.jf.intel.com ([10.166.244.147]) by orsmga004.jf.intel.com with ESMTP; 16 Mar 2022 13:39:59 -0700 From: Tony Nguyen To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com Cc: Wojciech Drewek , netdev@vger.kernel.org, anthony.l.nguyen@intel.com, pablo@netfilter.org, laforge@gnumonks.org, osmocom-net-gprs@lists.osmocom.org, kernel test robot Subject: [PATCH net-next 2/4] ice: Fix inconsistent indenting in ice_switch Date: Wed, 16 Mar 2022 13:40:22 -0700 Message-Id: <20220316204024.3201500-3-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220316204024.3201500-1-anthony.l.nguyen@intel.com> References: <20220316204024.3201500-1-anthony.l.nguyen@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Wojciech Drewek Fix the following warning as reported by smatch: New 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 Signed-off-by: Wojciech Drewek Signed-off-by: Tony Nguyen --- 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; } }