mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
usb: host: ehci-hcd: mark expected switch fall-through
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f5a3908e88
commit
6ecbf2e915
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ idle_timeout:
|
|||
qh_destroy(ehci, qh);
|
||||
break;
|
||||
}
|
||||
/* else FALL THROUGH */
|
||||
/* fall through */
|
||||
default:
|
||||
/* caller was supposed to have unlinked any requests;
|
||||
* that's not our job. just leak this memory.
|
||||
|
|
Loading…
Add table
Reference in a new issue