Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3109832ybh; Mon, 5 Aug 2019 12:13:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+1/jp95YrNjIdXmxw8Ax+VI+cj7xzD8SS00aOWXLeNdDhnY2Yd56lch7/WOa8NCilF6Nd X-Received: by 2002:a62:16:: with SMTP id 22mr77201176pfa.151.1565032383043; Mon, 05 Aug 2019 12:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565032383; cv=none; d=google.com; s=arc-20160816; b=g3ctTpnfERcDQE0Qu+iSA3utrt0Iv2Vx3oIxXK+KHvghAaI8/rC7VsKTgFH8VBxm9b ECK0JdpR9gFZIT6YlIp6T8kZIcq7ff7b97hkhgdG+QrZDYQldNIwMfLZ9msSA/aY8MDn t8+YP8nZE/K1EY9PxMlixSEjgDHLY8fhpHbVkzjNdvOzeO0NGJusGmiRuap9Ia5SnQ2M KO7cBPULZS9JkpCS+U9wWFlNoHDDAPi6Y1sNYWgG5UiEFp2Wr+/PKfJ5jSodkJUKyJBa 1Z0FxBomwRrL6fEs46A52cv1fF95teOkKcqDPSsgrqwsrfmphwyRIsvDMmUJRAvKMRNq sMUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ZmIHx3XJdBaj7RV/vprnPWvpQjhw5au5H8dBkUDrmrs=; b=OnX9x8Mui9GcS86JlmYfsmAw60igJFksvlL9Vy41PwBg0iOvxvCHMzKm0pym0gB0Vz ZgmitaLP6wQxU0cmCblqCqsZtiyApiYA/jWnKydTN7xTGM6JkuPywFcQcQ9cZ9JihGBp ceQKpP8rOlyycwsbdTJ5gM2+Gha0bTswxvJrQYiAQ8iEclJ3ly6FNlUdNaxbtgrqS/7w iML92VTP0J/o75VZvh83YfPa0gApmAZa3ph/gckXZYIOWGL6AtnkujKw/DGkuogF+jcd fpQpO3NloXRgNhBpSTapt0Fot17lrpDEkPUDyF4fTWEQq/mP/O6zYg5/7GgldPLhHE6G gvaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=pEWHySVG; 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 z185si46573945pfb.109.2019.08.05.12.12.47; Mon, 05 Aug 2019 12:13:03 -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; dkim=fail header.i=@embeddedor.com header.s=default header.b=pEWHySVG; 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 S1730341AbfHETLy (ORCPT + 99 others); Mon, 5 Aug 2019 15:11:54 -0400 Received: from gateway23.websitewelcome.com ([192.185.48.104]:15205 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728870AbfHETLx (ORCPT ); Mon, 5 Aug 2019 15:11:53 -0400 X-Greylist: delayed 1387 seconds by postgrey-1.27 at vger.kernel.org; Mon, 05 Aug 2019 15:11:53 EDT Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 916C7A6C2 for ; Mon, 5 Aug 2019 13:48:45 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ui2GhrClw90onui2HhhSc1; Mon, 05 Aug 2019 13:48:45 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Type:MIME-Version:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZmIHx3XJdBaj7RV/vprnPWvpQjhw5au5H8dBkUDrmrs=; b=pEWHySVGZdwEQCJOFLM85qeI43 oVziUhmZKzQ7l8EwanqLkBnE9dI9SRdvXqVG57KsXoGW4VXuACI7MNjh8eOsIlpP+KZQBxq5BJ2uy NiFTNGtExkxVOgaP/B29A7bFDsboYbrT64GubvieaUxil0LbDBTolT/aIJT3h5vjNi4SkB0ZjzQZ2 n+f5N9NEvypwPfkKJ30n3ijiYXv3hhdJcEQHvjVH8KEqOcUgTLg1Zd5oHhnT8QYuxrhtlY9G4CTbF laka7sJP/Y+JJNVJJjZF3udsKIWoJgj5jrp665PYmEDnxAIxBUxwV8C86zdPduJ8c9uLkGf2xJIxR RyZWXYCg==; Received: from [187.192.11.120] (port=37266 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.92) (envelope-from ) id 1hui2F-002sVJ-Lx; Mon, 05 Aug 2019 13:48:43 -0500 Date: Mon, 5 Aug 2019 13:48:42 -0500 From: "Gustavo A. R. Silva" To: Cristian Birsan , Felipe Balbi , Greg Kroah-Hartman , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches Cc: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] usb: gadget: atmel_usba_udc: Mark expected switch fall-through Message-ID: <20190805184842.GA8627@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.192.11.120 X-Source-L: No X-Exim-ID: 1hui2F-002sVJ-Lx X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [187.192.11.120]:37266 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 9 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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