Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3987685imu; Mon, 14 Jan 2019 12:44:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN6P/5kTswvXsuluqv/sgD1jxAZMeZbvGgdwOGEJopllidwqVbxqYgqfVJR9prKUa8vMcfQA X-Received: by 2002:a63:f65:: with SMTP id 37mr379031pgp.238.1547498644507; Mon, 14 Jan 2019 12:44:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498644; cv=none; d=google.com; s=arc-20160816; b=PzJ2GViR0RajFwYDPpLveSq7J3FuC8X0f0F50jmE6QaveTcefCX5vcKE/YBoZfP74q DUIz8ytuZ0U7PK/BDND3k+24XOFuj+sMNN5pFKpQZ+cb/xdBbPIczHfUgbmwHPoVDNH3 PYp8lGM7MTBlMe2qsxIXLXVJ4gREkKDUC/Do9wpo4zwyjijsQKLel4B4R4VmEzipdDdF z9FlXnYFenETVNxujSKyZNRCkPc0zIv1R0VdlBzGaPLgklELnvyTH6EQu/Zwq7426OLE KcMFBa5Pb/QhvJvishndWl6oy3H2eRiPsNyfRfZsbLYO4gsGlOKGsguz/U5kTEYtB1O2 msig== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=qMRlpE6a7Lpu7MMoDwefpxRhUpsgQYcb6piwu5JN2vE=; b=Ba4U9K0UhiXVfx1wdpa3Euohn4efhIrSgSWB4FgP97Byo0r6HTD6sWh6Rw2URwey0v knq/wg/xdNOBzUg88zQy+YbLUXgYn0Qk3bt9lUX5E/QZ+cNslV+jUBZj+5iD9jzCxQmJ VEe1tIHcHg5EBGQ7TxcTcVxX0EXEe5YKrYOvuu+L2LSptMBgf97oYFL4qKt2iW4ln6oV cgk/R6kfiCcystxEy7ilqroavgZZ5oFGt6iZY4uJPsjTtuf2ae5OCxyuP6ZSrorjCqKc X5ndDxJpitJ9w5ZX9yRu/4CSemOldT3hg0iUvtvz1x9I046PcrcVMfC+228Vxl2Kq7hJ RtWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="KA/bj1Ge"; 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 y6si1282598pfi.228.2019.01.14.12.43.48; Mon, 14 Jan 2019 12:44:04 -0800 (PST) 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=@gmail.com header.s=20161025 header.b="KA/bj1Ge"; 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 S1727182AbfANUls (ORCPT + 99 others); Mon, 14 Jan 2019 15:41:48 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33272 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbfANUlp (ORCPT ); Mon, 14 Jan 2019 15:41:45 -0500 Received: by mail-wm1-f67.google.com with SMTP id r24so8273684wmh.0; Mon, 14 Jan 2019 12:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qMRlpE6a7Lpu7MMoDwefpxRhUpsgQYcb6piwu5JN2vE=; b=KA/bj1GeEWMvAgaUqfdtcJO8EKBdH2fcA6EXZRwQ3X5YJhBDVka7VHPnxBnLHhAVkg py+yGQhi0CxvJ3n8EeeV1Mbi5Cye5gXYXG/Kzucke7S2OHO2pCYqUaDz7JPJ2YXPxZZs 5cRurdkFYeWMQEUr++eRBfIABF3oVWyMm9NKfM3T5t3UYFpN9fY5Qbuuns/Ki7purfn4 MA/MDhuknR+Irg/IiZPwS0kZtw1j+oxR6EnO7PXQuzJa6lyGrQQyYzm2HBofJWuwJMWl TbukFivgFHTCz6o9VkrQK5TTUoPSGGXuRZwxBPS31p+LxcjAxoECpuUJFKTvUIa9OGQL 3fZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=qMRlpE6a7Lpu7MMoDwefpxRhUpsgQYcb6piwu5JN2vE=; b=jFarJgy4Gkg0JqK+6GkTJ7M28Nw9Bq5bKRrwU/RzddxoJEbJpARhBrwpGwJ771I0wN FQFp0W57jmwE9JKenuv/eaHvQ+wA/X6eUCTothDlKquPPzjD/lphQg5uOTRFuG0TA+qn g6qK1uLMdnDlWAB2dQPRfK0S7TPikRQrn5BYm5+p/FkxpGBePBryFNabss2vs8X9KuEo ruoalkF7zV0eHXEZ/NjgsPFBUxSr8eQvuZvYCsMT4K3J5ulvq5MiqE36PDUul9OKaL11 xdzQsEE3+2WF51fvcgdiEyg8xgiMJEmXf6AagzrdRBzcKE8Dxg7sdx/UQXZylrOtyhZ1 7a/g== X-Gm-Message-State: AJcUukfh8Ipo7brTL59Mpc7pCdA7dQmOvC3IJaNek/YbvoV8yfVdS9x3 T5JodyAcTzS3Hl6IbkUQanZt4yd2 X-Received: by 2002:a1c:400b:: with SMTP id n11mr682576wma.85.1547498503697; Mon, 14 Jan 2019 12:41:43 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id 124sm32291283wmh.22.2019.01.14.12.41.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:41:42 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 6C83711422D0; Mon, 14 Jan 2019 21:41:41 +0100 (CET) From: Mathieu Malaterre To: Bjorn Helgaas Cc: Mathieu Malaterre , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] PCI: annotate implicit fall through Date: Mon, 14 Jan 2019 21:41:37 +0100 Message-Id: <20190114204137.21094-2-malat@debian.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190114204137.21094-1-malat@debian.org> References: <20190114204137.21094-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a plan to build the kernel with -Wimplicit-fallthrough and this place in the code produced a warning (W=1). In this particular case change a ‘:’ with a ‘,’ so as to match the regular expression expected by GCC. This commit remove the following warning: drivers/pci/quirks.c:2138:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- drivers/pci/quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index b0a413f3f7ca..9fabcef345ed 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2138,7 +2138,7 @@ static void quirk_netmos(struct pci_dev *dev) if (dev->subsystem_vendor == PCI_VENDOR_ID_IBM && dev->subsystem_device == 0x0299) return; - /* else: fall through */ + /* else, fall through */ case PCI_DEVICE_ID_NETMOS_9735: case PCI_DEVICE_ID_NETMOS_9745: case PCI_DEVICE_ID_NETMOS_9845: -- 2.19.2