USB: serial: io_edgeport: fix up switch fall-through comments
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 17:35:15 +0000 (19:35 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 3 May 2019 06:01:11 +0000 (08:01 +0200)
commitdeb55e40ced4109c53d92af1bc07e1e998979792
tree15bc29237c54cc96ab4669d596e24cd70ff1f55b
parent80ed53707bb3ec92c331ca33f45c113338ee434d
USB: serial: io_edgeport: fix up switch fall-through comments

Gustavo has been working to fix up all of the switch statements that
"fall through" such that we can eventually turn on
-Wimplicit-fallthrough.  As part of that, the io_edgeport.c driver is a
bit "messy" with the parsing logic of a data packet.  Clean that logic
up a bit by unindenting one level of the logic, and properly label
/* Fall through */ to make gcc happy.

Reported-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_edgeport.c