Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1852143pxb; Fri, 5 Mar 2021 00:54:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvLQ65QsUBzKDdNtBSaGpAXZs42VwAcHPOPIqSeJQsQNjDVfCdQbssuYmX1lYlsC01rMx7 X-Received: by 2002:a05:6e02:1c0f:: with SMTP id l15mr7825708ilh.21.1614934460211; Fri, 05 Mar 2021 00:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614934460; cv=none; d=google.com; s=arc-20160816; b=JBfupycVgnQFNiFadaTymyFM+yr6mlm31tr4p8aO0Y321TffRZdOjAAikm+9/QfzBF yxUu4HrpYSTMuQEt2OH6tYWadvrGb/Xfo41+DqTU1kP9vWP9YEanlOAwG32aESM2a8hz XZDVLxOE4MNXtV5pSRPOeMPJcPAtmweUXTpOoSGndmmX1uN7VTzyQ9PLrA2KUh1zEs2w uP6ZMWpM6hhAMukQTYoA380excpMRlXr2blk8v+/gZSzahGWUk/Vjs3mQLCzEifNvhyG 4vuDV4oXKQP0S2J6fgE80GobsCG6nDtgtjSxQv3sAQmH0IpzTXtjMJDgS+xR2LxLDQUX jVVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=3qS2UBUFlSVnQ6ubum1t8mF7b5iXZD91t9Ac9kkIVR8=; b=lMMUL7tMwJiuySZgL/nKfnuvTcUf7qjZ91rCvwZQRfO53pVIh4HCgwg2EbCXj1Gyxh /ZNE5Gv6/Fn6ge+az1FOZBYxRpV7JFORB/vaD/V6bnnj2kGdnpIKb9OOQtnnG0G97DIc 5lh++oYCXsCGT7fwe5hhwCc6ez8KzTi1Z6h/hKdgPEVnCg/lrS8pKmGup5TzWkSurotg Ro7IQHjh4MtnFpBVimJkRSAzCTBwj+t8JisGEgiiR4NXKWMO/bXv+W5waTvov8CTM6k3 FIPuxIxAgfXrn/CqvBN6SkvYHFeOzJ4LbeoY82/nxBzspXU/aUKvWhO6FxR2zgqwO8K7 zb9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CSlU89qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si2038264iob.27.2021.03.05.00.54.06; Fri, 05 Mar 2021 00:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CSlU89qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbhCEIxL (ORCPT + 99 others); Fri, 5 Mar 2021 03:53:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:53870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbhCEIxA (ORCPT ); Fri, 5 Mar 2021 03:53:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C3A264DE8; Fri, 5 Mar 2021 08:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614934380; bh=0K5gEXyiena0MlzGojgi19OmF18QgKL8tbUhZJGMau0=; h=Date:From:To:Cc:Subject:From; b=CSlU89qrCCkyru9O2mSXJ47yjCEREClQLKFyfeiDd3RjLLNEZzjs841th6ADz9nPg nscjWQfVNAR3BTLytPULQN81TVsTkRlKeSlblxq1wpycAGuHlj8zhNwUczvC4Ym+xa Xi5//86R9U+YGm3Ml7OJZ3jjcb8lzpk4dQkAzqZ49sqAboN7qZSZi9DNzU1XUOtv4M rGrakwKsf2HfyH+3fGWQNgeKorTZW70EDHKWWsS1c8KR8d/1CsABbyXsCW9jXIMh5u DxRFlT6OpJw2bQnnU9SJfmq+ZlaOogzP1+sHBXVG/OI1YMRHZNcDr0P/7AOQoypKBw 4WCM0xO9sywoA== Date: Fri, 5 Mar 2021 02:52:57 -0600 From: "Gustavo A. R. Silva" To: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Jakub Kicinski Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" , linux-hardening@vger.kernel.org Subject: [PATCH RESEND][next] ice: Fix fall-through warnings for Clang Message-ID: <20210305085257.GA138498@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of just letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/ice/ice_txrx_lib.c b/drivers/net/ethernet/intel/ice/ice_txrx_lib.c index 02b12736ea80..207f6ee3a7f6 100644 --- a/drivers/net/ethernet/intel/ice/ice_txrx_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_txrx_lib.c @@ -143,6 +143,7 @@ ice_rx_csum(struct ice_ring *ring, struct sk_buff *skb, case ICE_RX_PTYPE_INNER_PROT_UDP: case ICE_RX_PTYPE_INNER_PROT_SCTP: skb->ip_summed = CHECKSUM_UNNECESSARY; + break; default: break; } -- 2.27.0