From: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mathias Nyman <mathias.nyman@intel.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
"Gustavo A. R. Silva" <garsilva@embeddedor.com>
Subject: [PATCH 9/9] usb: host: pci-quirks: mark expected switch fall-through
Date: Wed, 25 Oct 2017 13:49:51 -0500 [thread overview]
Message-ID: <3701ace3e4329cfd1871da698cd887cac1e95cbb.1508955705.git.garsilva@embeddedor.com> (raw)
In-Reply-To: <cover.1508955705.git.garsilva@embeddedor.com>
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
---
drivers/usb/host/pci-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index 6dda362..6731f8d8d 100644
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -841,7 +841,7 @@ static void quirk_usb_disable_ehci(struct pci_dev *pdev)
ehci_bios_handoff(pdev, op_reg_base, cap, offset);
break;
case 0: /* Illegal reserved cap, set cap=0 so we exit */
- cap = 0; /* then fallthrough... */
+ cap = 0; /* fall through */
default:
dev_warn(&pdev->dev,
"EHCI: unrecognized capability %02x\n",
--
2.7.4
prev parent reply other threads:[~2017-10-25 19:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 18:48 [PATCH 0/9] mark expected switch fall-throughs Gustavo A. R. Silva
2017-10-25 18:48 ` [PATCH 1/9] usb: host: fotg210-hcd: mark expected switch fall-through Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 2/9] usb: host: xhci: " Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 3/9] usb: host: xhci-mem: " Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 4/9] usb: host: ohci-hcd: " Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 5/9] usb: host: ehci-hcd: " Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 6/9] usb: host: isp1362-hcd: " Gustavo A. R. Silva
2017-10-25 19:05 ` Gustavo A. R. Silva
2017-11-01 16:01 ` Greg Kroah-Hartman
2017-11-01 17:27 ` Gustavo A. R. Silva
2017-11-01 17:38 ` Greg Kroah-Hartman
2017-11-01 17:41 ` Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 7/9] usb: host: oxu210hp-hcd: " Gustavo A. R. Silva
2017-10-25 18:49 ` [PATCH 8/9] usb: host: xhci-hub: " Gustavo A. R. Silva
2017-10-25 18:49 ` Gustavo A. R. Silva [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3701ace3e4329cfd1871da698cd887cac1e95cbb.1508955705.git.garsilva@embeddedor.com \
--to=garsilva@embeddedor.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®