public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nathan Chancellor <nathan@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org, llvm@lists.linux.dev
Subject: [PATCH] speakup: Fix warning for label at end of compound statement
Date: Thu, 21 Mar 2024 16:13:22 +0100	[thread overview]
Message-ID: <2024032108-thus-herbal-501b@gregkh> (raw)
In-Reply-To: <2024032107-upstart-dragonfly-e346@gregkh>

From: Samuel Thibault <samuel.thibault@ens-lyon.org>

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

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 807977260ae4 ("speakup: Add /dev/synthu device")
Closes: https://lore.kernel.org/oe-kbuild-all/202403090122.cpUNsozM-lkp@intel.com/
Link: https://lore.kernel.org/r/20240309203549.jj2l6epnznyjsrje@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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


  reply	other threads:[~2024-03-21 15:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 13:02 [GIT PULL] Char/Misc driver changes for 6.9-rc1 Greg KH
2024-03-21 13:48 ` Nathan Chancellor
2024-03-21 15:04   ` Greg KH
2024-03-21 15:13     ` Greg KH [this message]
2024-03-21 18:10   ` Linus Torvalds
2024-03-21 18:12     ` Linus Torvalds
2024-03-21 18:30     ` Nathan Chancellor
2024-03-21 20:28       ` Linus Torvalds
2024-03-21 21:10 ` pr-tracker-bot
2024-03-27 16:56 ` Linus Torvalds
2024-03-27 17:51   ` Greg KH
2024-04-01 20:24     ` Chris Leech
2024-03-27 20:26   ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2024-03-09 20:35 [PATCH] speakup: Fix warning for label at end of compound statement Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024032108-thus-herbal-501b@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=nathan@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox