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

From: Greg KH
Date: Thu Mar 21 2024 - 11:13:33 EST


From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

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

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Fixes: 807977260ae4 ("speakup: Add /dev/synthu device")
Closes: https://lore.kernel.org/oe-kbuild-all/202403090122.cpUNsozM-lkp@xxxxxxxxx/
Link: https://lore.kernel.org/r/20240309203549.jj2l6epnznyjsrje@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
Linus,

Here's the fix for clang on top of the char-misc-next branch if you
pull from it, or I can integrate it in and send a new pull request,
your choice.

thanks,

greg k-h

drivers/accessibility/speakup/devsynth.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/accessibility/speakup/devsynth.c b/drivers/accessibility/speakup/devsynth.c
index da4d0f6aa5bf..674204ee5a85 100644
--- a/drivers/accessibility/speakup/devsynth.c
+++ b/drivers/accessibility/speakup/devsynth.c
@@ -108,6 +108,7 @@ static ssize_t speakup_file_writeu(struct file *fp, const char __user *buffer,
break;
}
drop:
+ ;
}

count -= bytes;
--
2.44.0