Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3885970ybl; Mon, 12 Aug 2019 08:00:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNQ1TfRjPhuZI5PS7OtqraMKTwRg8P6kyUnT07r7WLXDkwPc/1g/DVYFuKwlm3PF+Bb7OJ X-Received: by 2002:a63:d84e:: with SMTP id k14mr30632940pgj.234.1565622002350; Mon, 12 Aug 2019 08:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565622002; cv=none; d=google.com; s=arc-20160816; b=LKuJtzGNChL6xqlYzejItr6xCZtmbMNUYWR+z3RNDrKRZcKfIeHnfXKNq3o9u9Ioml KNQQJ6V+wUiOHiZ7b8el/6tvm4PlXyUp7/0v6lYs+SuZNF4OuaNLquGrrc9V48s+z86Q d9AlJJ/KDS6Vmi5la/yg569cBkV0cYg6YnQuuDMrnUrCOac0sIMQ7Phz5ODx6vI0oVL6 HRX0bF99HtgVwiXpXahykzzw6IgEEweMHtqGYttJ9XV+Pw5wXNWRURxv5hFjsEROL9nZ uOFINWCfOWEO7F7rg0bZl5z5M4DDuNrhiFeboTGYp9zbjQGbJfuSXBDIR4kHaQh8EZ9n nXtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QNpzkg1uPJbCffqVBxWwoKvRb4/zkNtXhYxQCQjxzH0=; b=hTpGIj5mTBiqQQjYBp7XQUJ0JMmRCD+mlKQV0tEf5HJqkpFfc+f4iN8Re2+CVo8yRk T7G6DT65RcEQJALrBZsiezl+LKi9vMtt4pyoEs2ZeiZlfa3gHIjK9XZUkJuU5Tw2VnTb 6T+2feVQIdZcCoUYRuEo2mRFJosyLPsUaY8dxvEImjgbrHW8eCgIk+IfM1mBloumRYa0 qRye4vK4/n9MC2P8pnCix/uhEfr29ARrFiPpgR4Jkcvv/jLP05fnTP9J9sMrXqO8C2eE rbbJHMbrHuXvBQWeBMTMiygiQqvoQwwuhWNAoSTKdDh0gbmzL7dHFGsi0FVRZ+bToqae O5Hw== 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 r6si57043381pls.145.2019.08.12.07.59.46; Mon, 12 Aug 2019 08:00:02 -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 S1727061AbfHLO64 (ORCPT + 99 others); Mon, 12 Aug 2019 10:58:56 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:42145 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbfHLO64 (ORCPT ); Mon, 12 Aug 2019 10:58:56 -0400 X-Originating-IP: 92.137.69.152 Received: from localhost (alyon-656-1-672-152.w92-137.abo.wanadoo.fr [92.137.69.152]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 11982FF807; Mon, 12 Aug 2019 14:58:53 +0000 (UTC) Date: Mon, 12 Aug 2019 16:58:53 +0200 From: Alexandre Belloni To: "Gustavo A. R. Silva" Cc: Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Nicolas Ferre , Ludovic Desroches , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: gadget: atmel_usba_udc: Mark expected switch fall-through Message-ID: <20190812145853.GP3600@piout.net> References: <20190805184842.GA8627@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190805184842.GA8627@embeddedor> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/08/2019 13:48:42-0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: at91_dt_defconfig arm): > > drivers/usb/gadget/udc/atmel_usba_udc.c:329:13: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Gustavo A. R. Silva Acked-by: Alexandre Belloni > --- > drivers/usb/gadget/udc/atmel_usba_udc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c > index 503d275bc4c4..86ffc8307864 100644 > --- a/drivers/usb/gadget/udc/atmel_usba_udc.c > +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c > @@ -327,6 +327,7 @@ static int usba_config_fifo_table(struct usba_udc *udc) > switch (fifo_mode) { > default: > fifo_mode = 0; > + /* fall through */ > case 0: > udc->fifo_cfg = NULL; > n = 0; > -- > 2.22.0 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com