Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1632529pxb; Thu, 4 Mar 2021 17:01:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1o1QBa8juVlA9ANV4LpfwAaM7PFBxYSX55oN06vGjeJkLpffGyz09NrjdHTjegpQcvSlA X-Received: by 2002:a02:272d:: with SMTP id g45mr7141196jaa.117.1614906108284; Thu, 04 Mar 2021 17:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906108; cv=none; d=google.com; s=arc-20160816; b=qfMhu48UKmgjGfYYNzHZEfB5xT2SAXdR7RY3eCfhs2UuRDp8W3NUj4zIKcqpPpgGU9 mqMG4A3q/+w0HXFbZn1jrUtrw+sxu2i4Z9M/rsGHGanutC08U0ZQ4xtzJmuDrkFwHNge QQ5+H8nmE1Pz/kC7OAOH1GFP3BdpldC2G0h+Ue1L1ds4+bTWo/w4wxCNYY/+0i/H2Les Zcr3qrNq7Nu2CyALC9eHTAMAc1OMyXX9lVT31pz3qypSvO+9WxAiNEdYaZuTDnzgEAYe IFZpe55KnwOhpisA6vszIauk3oAOfw0aeEdEaizrEyvZOSMmfOmDqxZQ58urTEZ/GiIz 1E4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kYAAtuYCyPH4FAw6TN8CtoJLKhsny4vm0kNu3C6DVdo=; b=wYI9I2E7rwunELdR6RY9+T+sjLQl69H587FZmCtoIpO++QjSKg3E8X7qM8LiwB/iMV gC2NchrWF7mdMeMSb0xQkvEtx1VGqXGNCmTxk3a+dsbYHIwzJ8IhGK7+Ihga7OtBk9fh hvWmYCSOpqcttGqmG0M0nscLyMRRQEjpc1rp32b9LFGLzm4NuhXGsi90SbvoRP7qIxwb BheQomCO0fz3Xaa4kDbYfuIdu/ThiK5eD2kCfJyMSJhdbQxnwWVbo7KLFKxlJQMBSbir 4EdUh/SR4gydXtuEorgc1u+b+PyDAm58p4WSqnr62YgHDT71jiTsjwo00iyiV42Ga87q 1pXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n+kDuJ4t; 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 g18si1099811ioo.24.2021.03.04.17.01.34; Thu, 04 Mar 2021 17:01:48 -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=n+kDuJ4t; 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 S232557AbhCDWxW (ORCPT + 99 others); Thu, 4 Mar 2021 17:53:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:38988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhCDWxV (ORCPT ); Thu, 4 Mar 2021 17:53:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6AF0A64FF1; Thu, 4 Mar 2021 22:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614898401; bh=1JsYNck3o/hQ5eTqJqLqsRGUXDWDncBO/AnJGGfNIq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n+kDuJ4tAbrF8hpJ5kBuEJnNN4P7AHdgy2gj1Re36hiVP8gMHW3bGAoEUQnXkXwrt NfltMY8oXutNZY/F2ssUHt3zv2xmdgOSgjX5JrYUFd5xxdzMnA1NhGxJgYRETpNAsG +0mdWSles7k+xjYhgXyyWz+sTE7E09AX/qB1DYN/w7335ecjbexouCQ0MB0Acag+cu 4Jqifhb9MyIGCrjVFfVyWOngvLvpNHBM7UUpo3xcwo8C0fFd8TavAmRuwMTRXUUdtc rFG0FxU92yS5J2Alpfy00CEM6nhisCcsO79e/GRz3JxsKbk5LLFqVb7saF5kAvk+TV Spazwb0t1+HRQ== Date: Thu, 4 Mar 2021 16:53:18 -0600 From: "Gustavo A. R. Silva" To: Microchip Linux Driver Support , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , "David S. Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 045/141] net: mscc: ocelot: Fix fall-through warnings for Clang Message-ID: <20210304225318.GC105908@embeddedor> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, It's been more than 3 months; who can take this, please? :) Thanks -- Gustavo On Fri, Nov 20, 2020 at 12:31:13PM -0600, Gustavo A. R. Silva wrote: > 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/mscc/ocelot_vcap.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/mscc/ocelot_vcap.c b/drivers/net/ethernet/mscc/ocelot_vcap.c > index d8c778ee6f1b..8f3ed81b9a08 100644 > --- a/drivers/net/ethernet/mscc/ocelot_vcap.c > +++ b/drivers/net/ethernet/mscc/ocelot_vcap.c > @@ -761,6 +761,7 @@ static void is1_entry_set(struct ocelot *ocelot, int ix, > vcap_key_bytes_set(vcap, &data, VCAP_IS1_HK_ETYPE, > etype.value, etype.mask); > } > + break; > } > default: > break; > -- > 2.27.0 >