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

Commit d4acce95 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Felipe Balbi
Browse files

usb: gadget: f_tcm: mark expected switch fall-through



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

Addresses-Coverity-ID: 703128
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 457b16d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1145,6 +1145,7 @@ static int usbg_submit_command(struct f_uas *fu,
	default:
		pr_debug_once("Unsupported prio_attr: %02x.\n",
				cmd_iu->prio_attr);
		/* fall through */
	case UAS_SIMPLE_TAG:
		cmd->prio_attr = TCM_SIMPLE_TAG;
		break;