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

Commit 38fce264 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Vinod Koul
Browse files

dmaengine: nbpfaxi: 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 <gustavo@embeddedor.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent ce397d21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -479,6 +479,7 @@ static size_t nbpf_xfer_size(struct nbpf_device *nbpf,

	default:
		pr_warn("%s(): invalid bus width %u\n", __func__, width);
		/* fall through */
	case DMA_SLAVE_BUSWIDTH_1_BYTE:
		size = burst;
	}