Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp774148yba; Fri, 26 Apr 2019 08:32:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgD3jEzjDj8Qj1BSNXBTdurPkphsPLy2HRCzb9OgAZeH9Fu1Hix+Lkw3TKEtZqV2Im1pYr X-Received: by 2002:a17:902:a7:: with SMTP id a36mr46428473pla.111.1556292721824; Fri, 26 Apr 2019 08:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556292721; cv=none; d=google.com; s=arc-20160816; b=PTvECkDudgCtMN3cNttSSaHa71zyT1CjGa3Uiz3vnjgx5uWSWNB4EELVgpyAMVYiMr zsCL6wMVYfEsMr5OLa6E2dEhs6gdViYxCIvfoAxZc/jOtbF2mSQ6f8py0hCLX6+jZ4RA oD+MEMRR9nVW8oMALZ5BIK/yedPMMdZb4HYH//uhQaNNrhegYSfHDz4Sp1dnHs4S0AM9 V9NAFnOAMVqawBAl6HVTD6Fk2EfVYXxjsUJ+r+slNS8IRPKtGiKY/WYUG5WLzF2QxfJW wfyDiZ5RH+2UAoT166dE3m1pRUXJ8/V2YhbREL0HZOz6JXubdihbw3tvNFmE3Tr1Otmb bjwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=QZBhBiWQkr83sqcPxfUpEht4N2SmCnHEToHcQ+F4mio=; b=hUHmwippRANj0R3gYqCJ8Sxt7Zum0C1QWtmbZSdf9xDXLAuqAtLkuBaElg5Gu8xeCp ibhmKBSl4DyI5NsSPZerPkcu3L/27EX+IREBl8xksZepD7A4JxfgqARr2qd6MwU+oycw c9UcTF5HRUg5V3wz9nTvK5ZmFvIASazqJwFkFnXPpo3sPQ1p1hlgeJ60ypCf4KOQlzTd ra8NYvlQxwoDkYY5pqBg4KFHSibVQzn78W53Tp1ToDb+3sGYi0VftCDDWMa8vPw3Q5YH fpdUb2zFZysSoEfLpPJMdQN7dj/+tRBj/4k2PE4rzxTUAVEPDTWC0YC/nFR81lTiD3m1 nEpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si2699965pgp.356.2019.04.26.08.31.45; Fri, 26 Apr 2019 08:32:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726428AbfDZP30 (ORCPT + 99 others); Fri, 26 Apr 2019 11:29:26 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:37618 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfDZP3Z (ORCPT ); Fri, 26 Apr 2019 11:29:25 -0400 Received: from localhost (unknown [12.154.31.190]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3E47C145E49BF; Fri, 26 Apr 2019 08:29:24 -0700 (PDT) Date: Fri, 26 Apr 2019 11:29:22 -0400 (EDT) Message-Id: <20190426.112922.848702194026198638.davem@davemloft.net> To: gustavo@embeddedor.com Cc: thomas.lendacky@amd.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, keescook@chromium.org Subject: Re: [PATCH net-next] amd-xgbe: Mark expected switch fall-throughs From: David Miller In-Reply-To: <20190424160823.GA20314@embeddedor> References: <20190424160823.GA20314@embeddedor> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 26 Apr 2019 08:29:24 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Gustavo A. R. Silva" Date: Wed, 24 Apr 2019 11:08:24 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: ... > Warning level 3 was used: -Wimplicit-fallthrough=3 > > Notice that, in this particular case, the code comments are modified > in accordance with what GCC is expecting to find. > > This patch is part of the ongoing efforts to enable > -Wimplicit-fallthrough. > > Signed-off-by: Gustavo A. R. Silva Applied.