2024-03-09 20:46:11

by Samuel Thibault

[permalink] [raw]
Subject: [PATCH] speakup: Fix warning for label at end of compound statement

Label at end of compound statements is a C2x extension, so add an empty instruction.

Signed-off-by: Samuel Thibault <[email protected]>
Reported-by: kernel test robot <[email protected]>
Fixes: 807977260ae4 ("speakup: Add /dev/synthu device")
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

Index: linux-6.4/drivers/accessibility/speakup/devsynth.c
===================================================================
--- linux-6.4.orig/drivers/accessibility/speakup/devsynth.c
+++ linux-6.4/drivers/accessibility/speakup/devsynth.c
@@ -108,6 +108,7 @@ static ssize_t speakup_file_writeu(struc
break;
}
drop:
+ ;
}

count -= bytes;