VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Gustavo A. R. Silva <gustavo@embeddedor.com> 2019-08-05 14:47:35 -0500 committer: Gustavo A. R. Silva <gustavo@embeddedor.com> 2019-08-09 19:53:04 -0500 commit: 5f163f331b645106d548f3fcddfa1f92c1af60d0 parent: 70a2783c1893a7e485b3be1c2ef23286fa252493
Commit Summary:
pcmcia: db1xxx_ss: Mark expected switch fall-throughs
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/drivers/pcmcia/db1xxx_ss.c b/drivers/pcmcia/db1xxx_ss.c
index eb6168e6ac43..590e594092f2 100644
--- a/drivers/pcmcia/db1xxx_ss.c
+++ b/drivers/pcmcia/db1xxx_ss.c
@@ -255,8 +255,10 @@ static int db1x_pcmcia_configure(struct pcmcia_socket *skt,
 	switch (state->Vcc) {
 	case 50:
 		++v;
+		/* fall through */
 	case 33:
 		++v;
+		/* fall through */
 	case 0:
 		break;
 	default:
@@ -267,9 +269,11 @@ static int db1x_pcmcia_configure(struct pcmcia_socket *skt,
 	switch (state->Vpp) {
 	case 12:
 		++p;
+		/* fall through */
 	case 33:
 	case 50:
 		++p;
+		/* fall through */
 	case 0:
 		break;
 	default: