diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-07-29 01:57:05 +0200 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-08-10 02:46:52 +0200 |
commit | 9039782047e769bd446667a9c14c0d3b8948ae51 (patch) | |
tree | bcd5079eb7fbba83fdee4ed77deead420be74e81 /Makefile | |
parent | mfd: db8500-prcmu: Mark expected switch fall-throughs (diff) | |
download | linux-9039782047e769bd446667a9c14c0d3b8948ae51.tar.xz linux-9039782047e769bd446667a9c14c0d3b8948ae51.zip |
mfd: omap-usb-host: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through.
This patch fixes the following warnings:
drivers/mfd/omap-usb-host.c: In function 'usbhs_runtime_resume':
drivers/mfd/omap-usb-host.c:303:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!IS_ERR(omap->hsic480m_clk[i])) {
^
drivers/mfd/omap-usb-host.c:313:3: note: here
case OMAP_EHCI_PORT_MODE_TLL:
^~~~
drivers/mfd/omap-usb-host.c: In function 'usbhs_runtime_suspend':
drivers/mfd/omap-usb-host.c:345:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!IS_ERR(omap->hsic480m_clk[i]))
^
drivers/mfd/omap-usb-host.c:349:3: note: here
case OMAP_EHCI_PORT_MODE_TLL:
^~~~
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions