Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06211656 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman
Browse files

usb: wusbcore: wa-xfer: mark expected switch fall-through



In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b82162bc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2156,6 +2156,7 @@ static void wa_complete_remaining_xfer_segs(struct wa_xfer *xfer,
		 * do not increment RPIPE avail for the WA_SEG_DELAYED case
		 * since it has not been submitted to the RPIPE.
		 */
		/* fall through */
		case WA_SEG_DELAYED:
			xfer->segs_done++;
			current_seg->status = status;