From patchwork Mon Jan 14 20:41:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 1024767 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KA/bj1Ge"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43dlkj2Q5pz9s3l for ; Tue, 15 Jan 2019 07:41:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726906AbfANUlq (ORCPT ); Mon, 14 Jan 2019 15:41:46 -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-Google-Smtp-Source: ALg8bN60XjwZuaLtbNikxBWM7ZWxf6Zp1hcJ/EnMpfpq/HheQoyQoStqOTMH/0oKekQJQe4U23HD5A== 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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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: